Question: hi there, This is a SAS code, All we need to do is copy this code and run it in the SAS and looking at

hi there, This is a SAS code, All we need to do is copy this code and run it in the SAS and looking at the output answer the question below.

data mms2; do bag = 1 to 17; input type $5. @@; do color=1 to 6; input number @@; output; /*blue red orange yellow brown green*/ end; input; end; cards; plain 6 5 7 7 13 18 plain 9 8 12 8 9 10 pb 4 8 5 2 2 5 plain 9 8 8 10 8 12 pb 5 3 5 0 9 4 pb 6 5 5 4 3 3 plain 12 5 11 8 4 15 plain 6 9 4 13 7 12 pb 6 4 4 2 8 4 pb 5 5 4 6 5 5 plain 6 10 6 9 10 2 plain 7 12 8 12 4 13 plain 15 9 3 4 10 14 plain 8 7 13 9 8 11 pb 3 4 5 4 6 5 plain 8 7 10 10 7 17 run; /* number represents the number of m&ms of each color in each bag*/ proc print data=mms2; run; proc glm data=mms2; class type color bag ; model number = type|color bag(type); random bag(type) / test; output out=myout r=res; run;

Analyze the data set. Begin by writing the full model (including the meanings of each of the terms and the assumptions of the model).

After estimating the full model, be sure to check assumptions. If adjustments need to be made due to normality, make them.

describe the steps taken between the full model and final model (adjustments for assumptions, elimination of variables, etc.) Upon the final model, present the estimated model. Indicate which factor(s) are significant in sentences! Do comparisons between the levels of the significant factors (if you use Fishers method/t, indicate the experiment-wise level of significance). If the interaction is significant indicate how the comparisons for one factor change depending on the level of the other factor.

Write a short conclusion indicating what is important and what isnt in estimating the number of each color of M&Ms in the bags.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!