14.35 Regression of weight gain on diet Refer to the previous exercise. a. Set up indicator variables

Question:

14.35 Regression of weight gain on diet Refer to the previous exercise.

a. Set up indicator variables for protein source and for protein level and specify a regression model with the effects both of protein level and protein source on weight gain.

b. Fit the model in part a and explain how to interpret the parameter estimate for the protein level indicator variable.

c. Show how you could test a hypothesis about beta parameters in the model in part a to analyze the effect of protein source on weight gain.

d. Using the fit of the model, find the estimated mean for each of the six diets. Explain what it means when we say that these estimated means do not allow for interaction between protein level and source in their effects on weight loss.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Statistics The Art And Science Of Learning From Data

ISBN: 9781292164878

4th Global Edition

Authors: Alan Agresti, Christine A. Franklin, Bernhard Klingenberg

Question Posted: