Learning outcomes for this session
- Compare PROC GLM and PROC MIXED
- Construct a SAS model for a factorial design
- Explain the results of an ANOVA test in plain english or non-stats speak
Once you have completed Week 5
Additional examples to try on your own
Additional example answers
This week we’re going to look at one example, but we are going to start from scratch. We will work through the model and then talk about how to use PROC GLM and PROC MIXED.
All we have are a student’s results and the following information
We conducted a 2×2 factorial design with 2 genders and 2 diets.
The data was collected and entered in the following table:
Male | Female | |
Diet A | 12, 14 | 20, 18 |
Diet B | 11, 9 | 17 |
Steps for the analysis
- Enter the data
- Write out the statistical model
- Translate it to SAS
- PROC GLM
- PROC MIXED
- Interpret results