You are on page 1of 6

20. a.

DATA A; INPUT SAMPEL $ METODE1 METODE2; DIFF= METODE1-METODE2; CARDS; 1 14 16 2 12 15 3 18 17 4 16 16 5 15 14 ; PROC ttest data=a alpha=0.05; paired metode1*metode2; RUN; QUIT; Hasil : The SAS System 23:02 Tuesday, March 2, 2013 The TTEST Procedure Statistics Difference METODE1 - METODE2 N 5 Lower CL Mean -2.856 Mean -0.6 Upper CL Mean 1.6556 Lower CL Std Dev 1.0884 Std Dev 1.8166 Upper CL Std Dev 5.2201 Std Err 0.8124 Minimum -3 Maximum 1 2

T-Tests Difference METODE1 - METODE2 b. Data 1 1 1 1 1 2 2 2 2 2 ; proc proc RUN; a; input 14 12 18 16 15 16 15 17 16 14 Metode $ Kekuatan_Regang; cards; DF 4 t Value -0.74 Pr > |t| 0.5012

print normal; ttest; class Metode; QUIT;

Hasil : 7 The SAS System The TTEST Procedure 17:14 Tuesday, March 2, 2013

Statistics Variable Kekuatan_Regang Kekuatan_Regang Kekuatan_Regang Metode 1 2 Diff (1-2) N 5 5 Lower CL Mean 12.224 14.184 -3.188 Mean 15 15.6 -0.6 Upper CL Mean 17.776 17.016 1.9885 T-Tests Variable Kekuatan_Regang Kekuatan_Regang Method Pooled Satterthwaite Variances Equal Unequal DF 8 5.95 t Value -0.53 -0.53 Pr > |t| 0.6075 0.6124 Lower CL Std Dev 1.3397 0.6831 1.1988 Std Dev 2.2361 1.1402 1.7748 Upper CL Std Dev 6.4255 3.2764 3.4002 Std Err 1 0.5099 1.1225 Minimum 12 14 Maximum 18 17

Equality of Variances Variable Kekuatan_Regang Method Folded F Num DF 4 Den DF 4 F Value 3.85 Pr > F 0.2203

21
DATA A; INPUT SAMPEL $ BEFORE AFTER; DIFF= BEFORE-AFTER; CARDS; 1 12 10 2 29 28 3 16 17 4 37 35 5 28 25 6 15 16 ; proc ttest data=a alpha=0.05; paired before*after; RUN; QUIT; Hasil : The SAS System 23:02 Tuesday, March 2, 2013 The TTEST Procedure Statistics Difference BEFORE - AFTER N 6 Lower CL Mean -0.756 Mean 1 Upper CL Mean 2.756 Lower CL Std Dev 1.0445 Std Dev 1.6733 Upper CL Std Dev 4.104 Std Err 0.6831 Minimum -1 Maximum 3 3

T-Tests Difference BEFORE - AFTER DF 5 t Value 1.46 Pr > |t| 0.2031

22.
Data a; input Additive $ Plant_Growth; cards; 1 20 1 31 1 16 1 22 1 19 1 32 1 25 1 18 1 20 1 19 2 23 2 34 2 15 2 21 2 22 2 31 2 29 2 20 2 24 2 23 ; proc print normal; proc ttest; class Additive; RUN; QUIT; Hasil : The SAS System 17:14 Tuesday, March 2, 2013 The TTEST Procedure Statistics Variable Plant_Growth Plant_Growth Plant_Growth Additive 1 2 Diff (1-2) N 10 10 Lower CL Mean 18.299 20.17 -7.209 Mean 22.2 24.2 -2 Upper CL Mean 26.101 28.23 3.2087 T-Tests Variable Plant_Growth Method Pooled Variances Equal DF 18 t Value -0.81 Pr > |t| 0.4304 Lower CL Std Dev 3.7506 3.8747 4.1889 Std Dev 5.4528 5.6332 5.5438 Upper CL Std Dev 9.9547 10.284 8.1983 Std Err 1.7243 1.7814 2.4792 Minimum 16 15 Maximum 32 34 12

Plant_Growth

Satterthwaite

Unequal

18

-0.81

0.4304

Equality of Variances Variable Plant_Growth Method Folded F Num DF 9 Den DF 9 F Value 1.07 Pr > F 0.9243

23.
a. DATA A; INPUT SAMPEL $ Left_Hand Right_Hand; DIFF= Left_Hand-Right_Hand; CARDS; 1 140 138 2 90 87 3 125 110 4 130 132 5 95 96 6 121 120 7 85 86 8 97 90 9 131 129 10 110 100 ; proc ttest data=a alpha=0.05; paired Left_Hand*Right_Hand; RUN; QUIT; Hasil : The SAS System 23:02 Tuesday, March 2, 2013 The TTEST Procedure Statistics Difference Left_Hand - Right_Hand N 10 Lower CL Mean -0.307 Mean 3.6 Upper CL Mean 7.5065 T-Tests Difference Left_Hand - Right_Hand b. DATA A; INPUT SAMPEL $ Left_Hand Right_Hand; DIFF= Left_Hand-Right_Hand; CARDS; 1 140 138 2 90 87 3 125 110 4 130 132 5 95 96 6 121 120 7 85 86 8 97 90 DF 9 t Value 2.08 Pr > |t| 0.0668 Lower CL Std Dev 3.7562 Std Dev 5.461 Upper CL Std Dev 9.9696 Std Err 1.7269 Minimum -2 Maximum 15 4

9 131 129 10 110 100 ; proc ttest data=a alpha=0.10; paired Left_Hand*Right_Hand; RUN; QUIT; Hasil : The SAS System 23:02 Tuesday, March 2, 2013 The TTEST Procedure Statistics Difference Left_Hand - Right_Hand N 10 Lower CL Mean 0.4344 Mean 3.6 Upper CL Mean 6.7656 T-Tests Difference Left_Hand - Right_Hand DF 9 t Value 2.08 Pr > |t| 0.0668 Lower CL Std Dev 3.9829 Std Dev 5.461 Upper CL Std Dev 8.9844 Std Err 1.7269 Minimum -2 Maximum 15 5

24.
Data a; input Fisher $ Number_of_panfish; cards; 1 8 1 27 1 7 1 9 1 18 1 15 1 13 1 19 1 3 1 12 1 18 1 12 2 13 2 20 2 2 2 9 2 19 2 12 2 10 2 23 2 0 2 11 2 15 2 10 ; proc print normal; proc ttest; class Fisher; RUN; QUIT; Hasil :

The SAS System The TTEST Procedure Statistics Variable Number_of_panfish Number_of_panfish Number_of_panfish Fisher 1 2 Diff (1-2) N 12 12 Lower CL Mean 9.2949 7.6907 -4.202 Mean 13.417 12 1.4167 Upper CL Mean 17.538 16.309 7.0354 T-Tests Variable Number_of_panfish Number_of_panfish Method Pooled Satterthwaite Variances Equal Unequal

17:14 Tuesday, March 2, 2013

14

Lower CL Std Dev 4.5955 4.8046 5.1325

Std Dev 6.4872 6.7823 6.6364

Upper CL Std Dev 11.014 11.516 9.3928

Std Err 1.8727 1.9579 2.7093

Minimum 3 0

Maximum 27 23

DF 22 22

t Value 0.52 0.52

Pr > |t| 0.6063 0.6063

Equality of Variances Variable Number_of_panfish Method Folded F Num DF 11 Den DF 11 F Value 1.09 Pr > F 0.8853