/* x3_1.sas */ /* Purpose: */ title1 'Example 3.1. (Idea for data model was: y=2x-1)'; data a; input y a b; cards; 1.1 1 1 4.9 1 3 6.9 1 4 11.1 1 6 ; proc print data=a; title2 'List of data.'; proc glm data=a; model y=a b /noint xpx inverse solution; title2 'Analysis by GLM.'; proc glm data=a; model y=b /xpx inverse solution; title2 'Alternative analysis by GLM.'; run;