t_twosample

t_twosample - Satterthwaite for the test */ proc ttest H0 =...

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

View Full Document Right Arrow Icon
2 Sample t-test in SAS options nodate pageno= 1 ; goptions colors =(none); title1 'DRP data -- Example 7.14' ; data drp; input group score @@; datalines ; 1 24 1 43 1 58 1 71 1 43 1 49 1 61 1 44 1 67 1 49 1 53 1 56 1 59 1 52 1 62 1 54 1 57 1 33 1 46 1 43 1 57 2 42 2 43 2 55 2 26 2 62 2 37 2 33 2 41 2 19 2 54 2 20 2 85 2 46 2 10 2 17 2 60 2 53 2 42 2 37 2 42 2 55 2 28 2 48 ; run ; proc sort data =drp; by group; run ; proc boxplot data =drp; plot score*group / boxstyle =skeletal; run ; /* check for normality among the two groups */ symbol value =circle; proc univariate data =drp; var score; by group; qqplot ; run ; - 1 -
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Sample t-test in SAS 1 2 0 2 0 4 0 6 0 8 0 1 0 0 s c o r e g r o u p g r o u p =1 - 2 - 1 0 1 2 2 0 3 0 4 0 5 0 6 0 7 0 8 0 s c o r e N o r ma l Q u a n t i l e s - 2 -
Background image of page 2
2 Sample t-test in SAS g r o u p = 2 - 2 - 1 0 1 2 0 2 0 4 0 6 0 8 0 1 0 0 s c o r e N o r ma l Q u a n t i l e s - 3 -
Background image of page 3

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

View Full DocumentRight Arrow Icon
2 Sample t-test in SAS /* tests if the two groups are equal, we want the line that says “Diff” for the Confidence Interval and the line that says
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Satterthwaite for the test */ proc ttest H0 = alpha = 0.05 data =drp; class group; var score; run ; DRP data -- Example 7.14 5 The TTEST Procedure Variable: score group N Mean Std Dev Std Err Minimum Maximum 1 21 51.4762 11.0074 2.4020 24.0000 71.0000 2 23 41.5217 17.1487 3.5758 10.0000 85.0000 Diff (1-2) 9.9545 14.5512 4.3919 group Method Mean 95% CL Mean Std Dev 95% CL Std Dev 1 51.4762 46.4657 56.4867 11.0074 8.4213 15.8954 2 41.5217 34.1061 48.9374 17.1487 13.2627 24.2715 Diff (1-2) Pooled 9.9545 1.0913 18.8176 14.5512 11.9981 18.4947 Diff (1-2) Satterthwaite 9.9545 1.2330 18.6759 Method Variances DF t Value Pr > |t| Pooled Equal 42 2.27 0.0286 Satterthwaite Unequal 37.855 2.31 0.0264 Equality of Variances Method Num DF Den DF F Value Pr > F Folded F 22 20 2.43 0.0507- 4 -...
View Full Document

Page1 / 4

t_twosample - Satterthwaite for the test */ proc ttest H0 =...

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

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