Print all the repair data 18:39 Wednesday, July 2, 2008 1 Obs car g1 g2 dy 1 1 17.6 17.3 0.3 2 2 20.2 19.1 1.1 3 3 19.5 18.4 1.1 4 4 11.3 11.5 -0.2 5 5 13.0 12.7 0.3 6 6 16.3 15.8 0.5 7 7 15.3 14.9 0.4 8 8 16.2 15.3 0.9 9 9 12.2 12.0 0.2 10 10 14.8 14.2 0.6 11 11 21.3 21.0 0.3 12 12 22.1 21.0 1.1 13 13 16.9 16.1 0.8 14 14 17.6 16.7 0.9 15 15 18.4 17.5 0.9 Testing g1=g2 vs g1 not= g2 by paired t-test 2 18:39 Wednesday, July 2, 2008 The MEANS Procedure Analysis Variable : dy N Mean Std Dev t Value Pr > |t| --------------------------------------------------------- 15 0.6133333 0.3943651 6.02 <.0001 --------------------------------------------------------- Print all the repair data after modification 3 18:39 Wednesday, July 2, 2008 Obs car g1 g2 dy garage y 1 1 17.6 17.3 0.3 1 17.6 2 1 17.6 17.3 0.3 2 17.3 3 2 20.2 19.1 1.1 1 20.2 4 2 20.2 19.1 1.1 2 19.1 5 3 19.5 18.4 1.1 1 19.5 6 3 19.5 18.4 1.1 2 18.4 7 4 11.3 11.5 -0.2 1 11.3 8 4 11.3 11.5 -0.2 2 11.5 9 5 13.0 12.7 0.3 1 13.0 10 5 13.0 12.7 0.3 2 12.7 11 6 16.3 15.8 0.5 1 16.3 12 6 16.3 15.8 0.5 2 15.8 13 7 15.3 14.9 0.4 1 15.3 14 7 15.3 14.9 0.4 2 14.9 15 8 16.2 15.3 0.9 1 16.2 16 8 16.2 15.3 0.9 2 15.3 17 9 12.2 12.0 0.2 1 12.2 18 9 12.2 12.0 0.2 2 12.0 19 10 14.8 14.2 0.6 1 14.8 20 10 14.8 14.2 0.6 2 14.2 21 11 21.3 21.0 0.3 1 21.3 22 11 21.3 21.0 0.3 2 21.0 23 12 22.1 21.0 1.1 1 22.1 24 12 22.1 21.0 1.1 2 21.0 25 13 16.9 16.1 0.8 1 16.9 26 13 16.9 16.1 0.8 2 16.1 27 14 17.6 16.7 0.9 1 17.6 28 14 17.6 16.7 0.9 2 16.7 29 15 18.4 17.5 0.9 1 18.4 30 15 18.4 17.5 0.9 2 17.5 Testing g1=g2 vs g1 not= g2 assuming unpaired 4 18:39 Wednesday, July 2, 2008 The TTEST Procedure Statistics Lower CL Upper CL Lower CL Variable garage N Mean Mean Mean Std Dev Std Dev y 1 15 15.072 16.847 18.621 2.3457 3.204 y 2 15 14.605 16.233 17.862 2.1534 2.9413 y Diff (1-2) -1.687 0.6133 2.9137 2.4406 3.0754 Statistics Upper CL Variable garage Std Dev Std Err Minimum Maximum y 1 5.053 0.8273 11.3 22.1 y 2 4.6386 0.7594 11.5 21 y Diff (1-2) 4.1594 1.123 T-Tests Variable Method Variances DF t Value Pr > |t| y Pooled Equal 28 0.55 0.5893 y Satterthwaite Unequal 27.8 0.55 0.5893 Equality of Variances Variable Method Num DF Den DF F Value Pr > F y Folded F 14 14 1.19 0.7533 What if we treat car as a block? - Same as paired t-test 5 18:39 Wednesday, July 2, 2008 The GLM Procedure Class Level Information Class Levels Values garage 2 1 2 car 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Number of Observations Read 30 Number of Observations Used 30 What if we treat car as a block? - Same as paired t-test 6 18:39 Wednesday, July 2, 2008 The GLM Procedure Dependent Variable: y Sum of Source DF Squares Mean Square F Value Pr > F Model 15 266.5633333 17.7708889 228.53 <.0001 Error 14 1.0886667 0.0777619 Corrected Total 29 267.6520000 R-Square Coeff Var Root MSE y Mean 0.995933 1.685963 0.278858 16.54000 Source DF Type I SS Mean Square F Value Pr > F garage 1 2.8213333 2.8213333 36.28 <.0001 car 14 263.7420000 18.8387143 242.26 <.0001 Source DF Type III SS Mean Square F Value Pr > F garage 1 2.8213333 2.8213333 36.28 <.0001 car 14 263.7420000 18.8387143 242.26 <.0001