Topic4 - CS Example: General Linear Test (cs2.sas) proc reg...

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

View Full Document Right Arrow Icon
CS Example: General Linear Test (cs2.sas) proc reg data =cs; model gpa=satm satv hsm hss hse; * test H0: beta1 = beta2 = 0; sat: test satm, satv; * test H0: beta3=beta4=beta5=0; hs: test hsm, hss, hse; run ;
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS Example: General Linear Test Test sat Results for Dependent Variable gpa Mean Source DF Square F Value Pr > F Numerator 2 0.46566 0.95 0.3882 Denominator 218 0.49000 Test hs Results for Dependent Variable gpa Mean Source DF Square F Value Pr > F Numerator 3 6.68660 13.65 <.0001 Denominator 218 0.49000
Background image of page 2
CS Example: General Linear Test (cs2.sas) proc reg data =cs; model gpa=satm satv hsm hss hse; * test H0: beta1 = beta2 = 0; sat: test satm, satv; * test H0: beta3=beta4=beta5=0; hs: test hsm, hss, hse; run ;
Background image of page 3

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

View Full DocumentRight Arrow Icon
Body Fat Example (nknw260.sas) It is very cumbersome and expensive to obtain the body fat of individuals (submersion in water). Therefore, a prediction method is desired. This study is based on 20 healthy female subjects between the ages of 25 – 34. The study wants to decided if the amount of body fat (Y) can be predicted from triceps skinfold thickness (X1), thigh circumference (X2) and midarm circumference (X3).
Background image of page 4
Body Fat Example: Regression (input) data bodyfat; infile 'I:\My Documents\Stat 512\CH07TA01.DAT' ; input skinfold thigh midarm fat; proc print data =bodyfat; run ; proc reg data =bodyfat; model fat=skinfold thigh midarm; run ;
Background image of page 5

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

View Full DocumentRight Arrow Icon
Body Fat Example: Regression (output) Sum of Mean Source DF Squares Square F Value Pr > F Model 3 396.98461 132.32820 21.52 <.0001 Error 16 98.40489 6.15031 Corrected Total 19 495.38950 Root MSE 2.47998 R-Square 0.8014 Dependent Mean 20.19500 Adj R-Sq 0.7641 Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept 1 117.08469 99.78240 1.17 0.2578
Background image of page 6
Body Fat Example: Extra SS proc reg data =bodyfat; model fat=skinfold thigh midarm / ss1 ss2 ; run ; Variable Pr > |t| Type I SS Type II SS skinfold 0.1699 352.26980 12.70489 thigh 0.2849 33.16891 7.52928 midarm 0.1896 11.54590
Background image of page 7

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

View Full DocumentRight Arrow Icon
Body Fat Example: Scatter plot
Background image of page 8
Body Fat Example: Correlation proc corr data =bodyfat noprob ; run ; skinfold thigh midarm fat skinfold 1.00000 0.92384 0.45778 0.84327 thigh 0.92384 1.00000 0.08467 0.87809 midarm 0.45778 0.08467 1.00000 0.14244 fat 0.84327 0.87809 0.14244 1.00000
Background image of page 9

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

View Full DocumentRight Arrow Icon
Body Fat Example: Single Xi’s (input) proc reg data =bodyfat; model fat = skinfold; model fat = thigh; model fat = midarm; run ;
Background image of page 10
Body Fat Example: Single Xi’s (output) Root MSE 2.81977 R-Square 0.7111 Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept 1 -1.49610 3.31923 -0.45 0.6576 skinfold 1 0.85719 0.12878 6.66 <.0001 Root MSE 2.51024 R-Square 0.7710 Parameter Standard Variable DF Estimate Error t Value Pr > |t| Intercept 1 -23.63449 5.65741 -4.18 0.0006 thigh 1 0.85655 0.11002 7.79 <.0001
Background image of page 11

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

View Full DocumentRight Arrow Icon
Linear Test (input) proc reg data =bodyfat; model fat=skinfold thigh midarm;
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 47

Topic4 - CS Example: General Linear Test (cs2.sas) proc reg...

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

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