

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Assigned: 21 September 2007 Due: 01 October 2007
..\sta402\hw\Homework-04-24sep07.doc (*.pdf)
a. Fit the model MANATEE = 00 + 1 NBOATS (^) i + i b. Fit the model MANATEE = 01 + 1 [NBOATS (^) i-min(NBOATS)] + i c. Fit the model MANATEE = 02 + 1 [NBOATS (^) i-average(NBOATS)] + i
Prepare a table summarizing the estimated regression coefficients, standard errors, P-values for these three models. Hint: use ODS output to manipulate the coefficient information.
a. Fit the anova model and obtain the estimated effects (estimates of ฮผ, 1 , 2 , 3 , 4 ) using SOLUTION option to the GLM model statement.
proc glm data=meat order=data; title2 fitting the one-way anova model via GLM; class condition; model logcount = condition/solution; means condition; run ;
b. Define 4 indicator variables, one for each of the conditions. For example, let ICO2 = 1 if condition=โCO2โ and ICO2=0 otherwise. Define the other 3 indicator variables similarly.
c. Can you fit a regression model with all indicator variables included? If so, how?
d. Fit 4 different regression models with 3 of the 4 indicator variables. Which fit matches the solution from part a? What does this tell you about the coding in the model fit from part 2a?
model logcount = IPlastic IVacuum IMixed; model logcount = IPlastic IVacuum ICO2; model logcount = IPlastic IMixed ICO2; model logcount = IVacuum IMixed ICO2;
observed counts and the model predictions. Use jitter to separate the points to clean up the plot.