MSDS6371 Unit 13- the effects of predatory intertidal crab species on snail populations Solved

35.00 $

Category:

Description

5/5 - (1 vote)

 

  1. As part of a study of the effects of predatory intertidal crab species on snail populations, researchers measured the mean closing forces and the propodus heights of the claws on several crabs of three species. The crab data will be in your files repository.
  • Use alpha = 0.05, where necessary.
  • Use SAS and provide relevant code and output.
  1. Step 1: Use the code from the lecture to plot a scatter plot of claw closing force (response variable) versus propodus height (explanatory variable), with different plotting symbols (or colors) to distinguish the three different crab species. Judging from an initial visual assessment of the scatterplots, you may apply a transformation and replot in this step. If a transformation is necessary, you only need to provide the scatterplot for the most visually satisfying transformation for now (but still provide a scatterplot of original data). You will formally assess the fit of the model in Step 4.
  2. Step 2: Build a model. (Simply write an appropriate equation as was shown in class.) This model should allow for separate fits (separate lines) for each crab species and should also allow for each line to have its own slope. Use lopho crab as the reference. (This is the default if the data is in alphabetical order.)
  3. Step 3: Fit the model. (Fill in the relevant betas in your equation for step 2.) Make sure you provide relevant code and the table of parameter estimates as well.
  4. Step 4: Provide a residual plot, studentized residual plot, histogram of residuals, and q-q plot of residuals to provide evidence of the appropriateness of the model. Provide a short one- or two-sentence discussion of EACH plot.
  5. Step 5: If the fit assessed in Step 4 is sufficient, interpret each coefficient in the model.
  6. Provide three individual regression equations (one for each crab species).

 

  1. Read the introduction to the Mammal Brain Weight data that starts on page 239 (Section 9.1.2). Download the Brain data set from 2DS. We would like to see if gestation length and litter size are associated with brain weight after controlling for different body sizes. That is, we already know that brain size is related to body weight; therefore, we don’t want body size to be a confounding variable.  We would like to measure the association of the other variables after taking into account the body size.

Answer this question by performing an analysis by following the 5 steps laid out in the problem above. Remember in step 2 to only include the terms that will help you answer this question of interest (QOI).

  • Use alpha = 0.05, where necessary.
  • Use R and provide relevant code and output.
  1. Bonus
  2. How many degrees of freedom were used to estimate the error term (MSE) in question 1?
  3. What is the estimate of the MSE in question 1?
  4. Repeat 1(a) in R.
  5. Repeat 1(c) in R.
  6. How many degrees of freedom were used to estimate the error term (MSE) in question 2?
  7. What is the estimate of the error (MSE) in question 2?

 

  • Unit13-53hben.zip