options ls=78; title "Check for normality - Pottery Data"; data pottery; infile "D:\Statistics\STAT 505\data\pottery.csv" delimiter=',' firstobs=2; input site $ al fe mg ca na; run; /* The class statement specifies the categorical variable site. * The model statement specifies the five responses to the left * and the categorical predictor to the right of the = sign. * The output statement is optional and can be used to save the * residuals, which are named with the r= option for later use. */ proc glm data=pottery; class site; model al fe mg ca na = site; output out=resids r=ral rfe rmg rca rna; run; proc print data=resids; run;