1. Homepage
  2. Exam
  3. [2021] STAT2401: Analysis of Experiments - Q2 Crab-Version

[2021] STAT2401: Analysis of Experiments - Q2 Crab-Version

This question has been solved
Engage in a Conversation

2 CourseNana.COM

As part of a study of the effects of predatory intertidal crab species (Species) on snail populations, researchers measured the mean closing forces (Force) in newton (N) and the propodus heights (Height) in millimetre (mm) of the claws on several crabs of three species. The data for this question comes from Yamada and Boulding (1998) “Claw Morphology, Prey Size Selection and Foraging Effciency in Generalist and Specialist Shell-Breaking Crabs,” in Journal of Experimental Marine Biology and Ecology, 220, pp 191–211. CourseNana.COM

This dataset Crab-Version-0.csv is available in LMS unit STAT2401 online. Please download the data, save it in “your working directory”, and read in the data by CourseNana.COM

setwd("your working directory")
Crab = read.csv(file="Crab-Version-0.csv",header=T)
CourseNana.COM

(a)  Fit the following models in order to explain the response variable log force (log(Force)) based on log height (log(Height)) and species (Species): CourseNana.COM

    • M1, a simple linear regression for all observations (i.e. intercept and slope not dependent on di↵erent species.)
    • M2, parallel regressions for observations from each species (i.e. re- gressions have the same slope but the intercept varies from species to species.)
    • M3, separate regression for observations from each species (i.e. regres- sions have intercept and slope that varies from species to species.) Report the R code (NOT the R-output) that you used to fit these models. [3 marks]

(b)  Use F tests to select the most appropriate model from M1, M2, and M3, working at a 5% significance level. Explain your reasoning clearly, and include the p-values that you obtain for your tests, also report your R code (NOT the R-output). [6 marks] CourseNana.COM

(c)  For your preferred model, report the fitted models for each of the three species. [marks] CourseNana.COM

(d)  Consider the Model M3 in part (a). CourseNana.COM

(i)  What is the p-value for the test of the hypothesis that the slope in the re- gression of log(Force) on log(Height) is the same for species “Cancer productus” as it is for species “Hemigrapsus nudus”? [3 marks] CourseNana.COM

(ii)  What is a 95% confidence interval for the amount by which the slope for species “Cancer productus” exceeds the slope for species “Hemigrapsus nudus”? (Report also your R-code.) [3 marks] CourseNana.COM

(iii)  Report the estimated mean Force for species “Hemigrapsus nudus” and Height 9mm and its confidence interval (Report also your R-code). [4 marks] CourseNana.COM

(iv)  ReportthepredictedForceforspecies“Hemigrapsusnudus”andHeight 9mm and its prediction interval (Report also your R-code). [4 marks] CourseNana.COM

  CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
STAT2401代写,Analysis of Experiments代写,Exam代写,University of Western Australia代写,STAT2401代编,Analysis of Experiments代编,Exam代编,University of Western Australia代编,STAT2401代考,Analysis of Experiments代考,Exam代考,University of Western Australia代考,STAT2401help,Analysis of Experimentshelp,Examhelp,University of Western Australiahelp,STAT2401作业代写,Analysis of Experiments作业代写,Exam作业代写,University of Western Australia作业代写,STAT2401编程代写,Analysis of Experiments编程代写,Exam编程代写,University of Western Australia编程代写,STAT2401programming help,Analysis of Experimentsprogramming help,Examprogramming help,University of Western Australiaprogramming help,STAT2401assignment help,Analysis of Experimentsassignment help,Examassignment help,University of Western Australiaassignment help,STAT2401solution,Analysis of Experimentssolution,Examsolution,University of Western Australiasolution,