/* SAS Program to input raw data for Unit 1 Section 1 Ag and Env */ options ls=78 ps=50 nodate; data Fuel; input Replication Consumption; cCons = Consumption - 10 ; /* Center the data round the target mean*/ datalines; 1 8.99 2 9.16 3 10.20 4 9.82 5 11.54 6 9.48 7 10.65 8 9.71 9 11.43 10 9.97 11 9.11 12 8.24 13 8.44 14 8.50 15 11.34 ; /* Compute basic statistics using the Univariate procedure */ proc univariate; var consumption cCons ; title " Problem 2 Unit 2 Section 1 "; run; Problem 2 Unit 2 Section 1 13 The UNIVARIATE Procedure Variable: Consumption Moments N 15 Sum Weights 15 Mean 9.772 Sum Observations 146.58 Std Deviation 1.08830274 Variance 1.18440286 Skewness 0.36207814 Kurtosis -0.9499585 Uncorrected SS 1448.9614 Corrected SS 16.58164 Coeff Variation 11.1369499 Std Error Mean 0.28099856 Basic Statistical Measures Location Variability Mean 9.772000 Std Deviation 1.08830 Median 9.710000 Variance 1.18440 Mode . Range 3.30000 Interquartile Range 1.66000 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t 34.77598 Pr > |t| <.0001 Sign M 7.5 Pr >= |M| <.0001 Signed Rank S 60 Pr >= |S| <.0001 Quantiles (Definition 5) Quantile Estimate 100% Max 11.54 99% 11.54 95% 11.54 90% 11.43 75% Q3 10.65 50% Median 9.71 25% Q1 8.99 10% 8.44 5% 8.24 1% 8.24 0% Min 8.24 Problem 2 Unit 2 Section 1 14 The UNIVARIATE Procedure Variable: Consumption Extreme Observations ----Lowest---- ----Highest---- Value Obs Value Obs 8.24 12 10.20 3 8.44 13 10.65 7 8.50 14 11.34 15 8.99 1 11.43 9 9.11 11 11.54 5 Problem 2 Unit 2 Section 1 15 The UNIVARIATE Procedure Variable: cCons Moments N 15 Sum Weights 15 Mean -0.228 Sum Observations -3.42 Std Deviation 1.08830274 Variance 1.18440286 Skewness 0.36207814 Kurtosis -0.9499585 Uncorrected SS 17.3614 Corrected SS 16.58164 Coeff Variation -477.32576 Std Error Mean 0.28099856 Basic Statistical Measures Location Variability Mean -0.22800 Std Deviation 1.08830 Median -0.29000 Variance 1.18440 Mode . Range 3.30000 Interquartile Range 1.66000 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t -0.81139 Pr > |t| 0.4307 Sign M -2.5 Pr >= |M| 0.3018 Signed Rank S -17 Pr >= |S| 0.3591 Quantiles (Definition 5) Quantile Estimate 100% Max 1.54 99% 1.54 95% 1.54 90% 1.43 75% Q3 0.65 50% Median -0.29 25% Q1 -1.01 10% -1.56 5% -1.76 1% -1.76 0% Min -1.76 Problem 2 Unit 2 Section 1 16 The UNIVARIATE Procedure Variable: cCons Extreme Observations ----Lowest---- ----Highest--- Value Obs Value Obs -1.76 12 0.20 3 -1.56 13 0.65 7 -1.50 14 1.34 15 -1.01 1 1.43 9 -0.89 11 1.54 5