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.

• If the st<strong>and</strong>ard deviation is unknown the p-value is found usingthe t distribution.7.1 Hypothesis Test for MeanEXAMPLE ONE - HYPOTHESIS TEST FOR THE MEANSuppose the resting pulse rates for young women are normally distributedwith mean µ = 66 <strong>and</strong> st<strong>and</strong>ard deviation σ = 9.2 beats perminute. A drug for the treatment <strong>of</strong> a medical condition is administeredto 100 young women <strong>and</strong> their average pulse rate is found tobe 68 beats per minute. Because the drug had for a long time beenobserved to increase pulse rates, test the claim that the drug does infact increase the pulse rates (H A is data based).Set up the hypotheses:STEP ONE: H 0 : µ = 66 (the null hypothesis)STEP TWO: H A : µ > 66 (the research hypothesis)Calculate the test statistic:Test statistic =observed sample value - null value( )estimated st<strong>and</strong>ard error σ√n68 − 66=√9.2100= 2.174Find the p-value:Pr(Z > 2.174)=0.0150• Can get p-value directly from Rcmdr.• For this example use 1 - pnorm(2.174).• If p-value < 0.05 we have significance at the 5% level (<strong>and</strong> ifp-value < 0.01 we have significance at the 1% level).121

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

Saved successfully!

Ooh no, something went wrong!