sampexam2 - Sampexam23.sas options ls=78 nodate; data rats;...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Sampexam2 3.sas options ls= 78 nodate; data rats; input weight $ litter chol square trt $; cards ; h 1 1.6 1 b h 2 1.97 1 a h 3 2.07 1 c m 1 1.83 1 c m 2 1.71 1 b m 3 1.56 1 a l 1 1.44 1 a l 2 1.84 1 c l 3 1.72 1 b h 1 1.71 2 a h 2 2.02 2 c h 3 1.85 2 b m 1 1.63 2 b m 2 1.75 2 a m 3 2.06 2 c l 1 1.70 2 c l 2 1.59 2 b l 3 1.68 2 a h 1 2.09 3 c h 2 1.83 3 b h 3 1.98 3 a m 1 1.63 3 a m 2 1.91 3 c m 3 1.83 3 b l 1 1.67 3 b l 2 1.63 3 a l 3 2.00 3 c ; run ; proc glm data =rats; class weight litter square trt; model chol=square weight litter(square) trt; contrast 'animal vs vege fat' trt 0 1 - 1 ; lsmeans trt; run ;
Background image of page 10
Sampexam2 3.lst The SAS System 1 The GLM Procedure Class Level Information Class Levels Values weight 3 h l m litter 3 1 2 3 square 3 1 2 3 trt 3 a b c Number of Observations Read 27 Number of Observations Used 27 The SAS System 2 The GLM Procedure Dependent Variable: chol Sum of Source DF Squares Mean Square F Value Pr > F Model 12 0.74064444 0.06172037 11.74 <.0001 Error 14
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 15

sampexam2 - Sampexam23.sas options ls=78 nodate; data rats;...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online