/* x3_4.sas */ /* Purpose: */ title1 'Example 3.4.'; data a; input y a b; cards; 13.4 1 0 12.3 1 0 9.3 0 1 8.7 0 1 ; proc print data=a; title2 'List of data.'; proc glm data=a; model y=a b /noint solution xpx inverse e; title2 'Analysis by GLM.'; proc glm data=a; model y=a b /solution xpx inverse e; title2 'Alternative analysis by GLM.'; proc means data=a; var y; by b a; title2 'Respective means.'; run;