12.07.2015 Views

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Calculate the test statistic:Test statistic ==observed sample value - null value(√ )s2estimated st<strong>and</strong>ard error malen male+ s2 femalen female(180.6 − 166.6) − 0√14=0.919175= 15.231057.97 2133 + 8.042176Find the p-value:P r(|Z| > 15.23) = 2× < 0.0001 =virtually zero Can use Z distribution(instead <strong>of</strong> t with n 1 + n 2 − 2 df) as the sample is large. (Use1 - pnorm(15.23) to find the upper tail.)Make the conclusion:Extremely small amount <strong>of</strong> support for H 0 (p-value is less than0.05). The observation is a rare event. Reject H 0 <strong>and</strong> accept H A .There is strong evidence that the mean heights for males <strong>and</strong> femalesare different.CONFIDENCE INTERVALRecall the 95% confidence interval for µ male − µ female is:That is,(x male − x female ) ± 1.96√s2male√= (180.6 − 166.6) ± 1.96x= 14 ± 1.80n male+ s2 femalen female7.97 2133 + 8.04217612.20 < µ male − µ female < 15.80124

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!