Print all the data 10:28 Wednesday, July 2, 2008 1 Obs car y dy 1 1 25 -10 2 2 27 -8 3 3 35 0 4 4 42 7 5 5 28 -7 6 7 37 2 7 4 40 5 8 8 31 -4 9 9 29 -6 10 10 33 -2 11 11 30 -5 12 12 26 -9 13 13 31 -4 14 14 28 -7 15 15 30 -5 Print selected data 10:28 Wednesday, July 2, 2008 2 Obs car dy 1 1 -10 2 2 -8 3 3 0 4 4 7 5 5 -7 6 7 2 7 4 5 8 8 -4 9 9 -6 10 10 -2 11 11 -5 12 12 -9 13 13 -4 14 14 -7 15 15 -5 Testing mu=35K vs mu not=35K by PROC MEANS 3 10:28 Wednesday, July 2, 2008 The MEANS Procedure Analysis Variable : dy N Mean Std Dev Std Error t Value Pr > |t| ------------------------------------------------------------------------- 15 -3.5333333 5.0407860 1.3015254 -2.71 0.0168 ------------------------------------------------------------------------- Properties of y 10:28 Wednesday, July 2, 2008 4 The UNIVARIATE Procedure Variable: y Moments N 15 Sum Weights 15 Mean 31.4666667 Sum Observations 472 Std Deviation 5.04078603 Variance 25.4095238 Skewness 0.88762739 Kurtosis -0.0100578 Uncorrected SS 15208 Corrected SS 355.733333 Coeff Variation 16.0194471 Std Error Mean 1.30152536 Basic Statistical Measures Location Variability Mean 31.46667 Std Deviation 5.04079 Median 30.00000 Variance 25.40952 Mode 28.00000 Range 17.00000 Interquartile Range 7.00000 NOTE: The mode displayed is the smallest of 3 modes with a count of 2. Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t 24.17676 Pr > |t| <.0001 Sign M 7.5 Pr >= |M| <.0001 Signed Rank S 60 Pr >= |S| <.0001 Quantiles (Definition 5) Quantile Estimate 100% Max 42 99% 42 95% 42 90% 40 75% Q3 35 50% Median 30 25% Q1 28 10% 26 5% 25 1% 25 0% Min 25 Properties of y 10:28 Wednesday, July 2, 2008 5 The UNIVARIATE Procedure Variable: y Extreme Observations ----Lowest---- ----Highest--- Value Obs Value Obs 25 1 33 10 26 12 35 3 27 2 37 6 28 14 40 7 28 5 42 4 A new dataset output from PROC MEANS 10:28 Wednesday, July 2, 2008 6 Obs _TYPE_ _FREQ_ mean_y mean_dy std_y std_dy 1 0 15 31.4667 -3.53333 5.04079 5.04079