# Question: Refer to the previous exercise a Set up indicator variables for

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.

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.

## Answer to relevant Questions

Is the number of good friends associated with marital status? For GSS data with marital status measured with the categories (married, widowed, divorced, separated, never married), an ANOVA table reports F = 0.80 based on df1 ...Refer to the previous exercise. a. Suppose that the first observation in the second group was actually 9, not 1. Then the standard deviations are the same as reported in the table, but the sample means are 6, 7, and 8 rather ...Refer to the previous exercise. Let f = 1 for females and 0 for males, and let r = 1 for blacks and 0 for whites. The regression model for predicting y = ideal number of kids is = 2.42 + 0.04f + 0.37r. a. Interpret the ...Sketch a dot plot of data for 10 observations in each of three groups such that a. You believe the P-value would be very small for a one-way ANOVA. (You do not need to do the ANOVA; merely show points for which you think ...A recent General Social Survey asked subjects, “What is the ideal number of kids for a family?” Do responses tend to depend on the subjects’ religious affiliation? Results of an ANOVA are shown in the printout, for ...Post your question