I am trying to make an analysis of variance with repeated measures. I want to reconstruct an example of a book where the author says he got the results from SAS PROC GLM (but he gave no syntax).
This is my syntax:
proc glm data=orig_daten;
model y1-y10=student / nouni;
repeated course 2 (10 20), period 5 (1 2 3 4 5) / printe;
So there are two within-subject effects, course and period and one "between-subjects effect", the student.
When I run this programm I get the error, that no multivariate tests are performed due to insufficient error degrees of freedom.
This is because with this model I have got a three-way design and just one observation per cell. Because of this there aren't enough degrees of freedom left for the estimation of the error.
But the theory says, that one has to take the three-way interaction as the error term and calculate the anova with this Error.
But how can I tell SAS to take the three-way-interaction as error term? Or what have I to do to get results?
(I get the right sums of squares but no F- or p-values.
I would be very thankful if someone could help me!