Predict 401DL Data Analysis Project Assignment #2Project Assignment #2 (100 points due the end of Session 10)OverviewThis assignment will investigate the extent to which physical measurements can be used todevise a useful decision rule for abalone harvesting. Use your saved mydata file from the firstassignment for this assignment. Analysis of variance, linear regression and other forms ofanalysis will be performed. Snippets of code are supplied for each of the steps in the assignment.This report should comply with the report template, and be a separate report in its own right.Results from the first assignment may be referenced as needed.Report TemplateAssignment #(Enter your name)Introduction:The introduction should describe the purpose of the assignment. State the primary objective. Itshould be clear to me that you understand the rationale for the assignment.Results:Your discussion should be intertwined with the results of your analysis appearing on or near thepage containing analytical results and data displays. Reports should be written to inform abusiness reader, not overwhelm the reader with distracting detail. Present appropriate graphicsand tables. All graphics and tables should be identified by number and title for referencepurposes. Do not show unnecessary R output or R code. You should never include a printout ofthe data set or extensive tables of summary statistics in the body of the report. Use the appendixfor this information. While graphical output may take up space, such output can be reduced insize provided some important feature is not lost or obscured. Take a look at the self-check pageposted in the data analysis module. This page shows what the displays should look like.Conclusions:Summarize your results in an integrated and cohesive manner. State your conclusions succinctlyand clearly. Responses to the questions placed at the end of the assignment should appear here.Submission:The report should be submitted in pdf format. R code should not appear in the body of thereport. Attach your R code as an appendix. This should be all the code used for your report.1Predict 401DL Data Analysis Project Assignment #2Use your saved mydata file from the first data analysis.1) Write a function in R to calculate the Pearson chi square statistic on 2×2 contingency tableswhich have the marginal totals. Use this function to test for independence of SHUCK andVOLUME. Show the chi square value and p-value and discuss the results. What conclusionresults from rejection of the null hypothesis? What does this indicate about the relationshipbetween SHUCK and VOLUME?a) An example of code to include in the function is shown below. The function would startwith a table that has marginal totals. The following statements calculate the expectedvalue for each cell in the table. Using these statements, the Pearson Chi Square Statisticvalue may be calculated within the function and the value returned.# Use with 2×2 contingency tables that have margins added.e11
- Assignment status: Already Solved By Our Experts
- (USA, AUS, UK & CA PhD. Writers)
- CLICK HERE TO GET A PROFESSIONAL WRITER TO WORK ON THIS PAPER AND OTHER SIMILAR PAPERS, GET A NON PLAGIARIZED PAPER FROM OUR EXPERTS
