* simple linear regression model; options linesize=75 pagesize = 64; data dagis; input sex $ wt height ones; cards; M 17 110 1 M 15 105 1 M 12 100 1 F 15 104 1 F 16 106 1 F 14 102 1 run; proc gplot; plot height*wt; plot wt*height; run; proc glm; model height=wt; run; proc glm; model wt = height; run; proc glm; class sex; model wt = sex /solution; means sex; run; proc glm; class sex; model wt = ones sex /noint solution; means sex; run; proc glm; class sex; model wt = sex /noint solution; means sex; run; proc glm; class sex; model wt = height sex /solution; run; proc glm; class sex; model wt = height sex sex*height /solution; run; proc glm; class sex; model wt = sex sex*height /noint solution; run;