options
ls=80 nodate;data
fert;proc
print;/* Using GLM, just like we did back in Chapter 2, to fit the ANOVA */
proc
glm;
class
fert;
model
yield=fert/solution;
title
'class statement in GLM';
run;
/* Regressing $Y$ on x1, x2, x3. This is essentially what SAS does when it
fits the ANOVA model using GLM (i.e., it throws out the last column of X). */
proc
glm;/* Regressing $Y$ on x1, x2, x3, and x4. This gives the overparameterised
effects model
SAS uses the side condition tau_4=0 to solve the normal equations. */
proc
glm;