/* SAS Program to input cigarette data for Unit 1 Section 1 */ options ls=78 ps=50 nodate; data Fuel; input Cigarette Nicotine; cNicot = Nicotine - 14 ; datalines; 1 13.96 2 15.33 3 15.01 4 14.46 5 14.71 6 15.35 7 16.03 8 15.22 9 14.35 10 15.56 11 15.87 12 14.82 13 13.82 14 14.19 15 13.84 16 14.33 17 13.79 18 15.32 19 12.50 20 14.17 21 14.07 22 14.58 23 13.28 24 16.60 25 13.37 ; /* Compute basic statistics using the Univariate procedure */ proc univariate; var Nicotine cNicot ; title " Toxicology Problem 2 Unit 2 Section 1 "; run; /* Ouptut follows */ Toxicology Problem 2 Unit 2 Section 1 17 The UNIVARIATE Procedure Variable: Nicotine Moments N 25 Sum Weights 25 Mean 14.5812 Sum Observations 364.53 Std Deviation 0.94656537 Variance 0.895986 Skewness 0.05924056 Kurtosis -0.0184533 Uncorrected SS 5336.7885 Corrected SS 21.503664 Coeff Variation 6.49168361 Std Error Mean 0.18931307 Basic Statistical Measures Location Variability Mean 14.58120 Std Deviation 0.94657 Median 14.46000 Variance 0.89599 Mode . Range 4.10000 Interquartile Range 1.36000 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t 77.02162 Pr > |t| <.0001 Sign M 12.5 Pr >= |M| <.0001 Signed Rank S 162.5 Pr >= |S| <.0001 Quantiles (Definition 5) Quantile Estimate 100% Max 16.60 99% 16.60 95% 16.03 90% 15.87 75% Q3 15.32 50% Median 14.46 25% Q1 13.96 10% 13.37 5% 13.28 1% 12.50 0% Min 12.50 Toxicology Problem 2 Unit 2 Section 1 18 The UNIVARIATE Procedure Variable: Nicotine Extreme Observations -----Lowest---- ----Highest---- Value Obs Value Obs 12.50 19 15.35 6 13.28 23 15.56 10 13.37 25 15.87 11 13.79 17 16.03 7 13.82 13 16.60 24 Toxicology Problem 2 Unit 2 Section 1 19 The UNIVARIATE Procedure Variable: cNicot Moments N 25 Sum Weights 25 Mean 0.5812 Sum Observations 14.53 Std Deviation 0.94656537 Variance 0.895986 Skewness 0.05924056 Kurtosis -0.0184533 Uncorrected SS 29.9485 Corrected SS 21.503664 Coeff Variation 162.863966 Std Error Mean 0.18931307 Basic Statistical Measures Location Variability Mean 0.581200 Std Deviation 0.94657 Median 0.460000 Variance 0.89599 Mode . Range 4.10000 Interquartile Range 1.36000 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t 3.070047 Pr > |t| 0.0053 Sign M 5.5 Pr >= |M| 0.0433 Signed Rank S 99.5 Pr >= |S| 0.0048 Quantiles (Definition 5) Quantile Estimate 100% Max 2.60 99% 2.60 95% 2.03 90% 1.87 75% Q3 1.32 50% Median 0.46 25% Q1 -0.04 10% -0.63 5% -0.72 1% -1.50 0% Min -1.50 Toxicology Problem 2 Unit 2 Section 1 20 The UNIVARIATE Procedure Variable: cNicot Extreme Observations ----Lowest---- ----Highest--- Value Obs Value Obs -1.50 19 1.35 6 -0.72 23 1.56 10 -0.63 25 1.87 11 -0.21 17 2.03 7 -0.18 13 2.60 24