<< Chapter < Page | Chapter >> Page > |
Jeffrey, as an eight-year old, established a mean time of 16.43 seconds for swimming the 25-yard freestyle, with a standard deviation of 0.8 seconds . His dad, Frank, thought that Jeffrey could swim the 25-yard freestyle faster by usinggoggles. Frank bought Jeffrey a new pair of expensive goggles and timed Jeffrey for 15 25-yard freestyle swims . For the 15 swims, Jeffrey's mean time was 16 seconds. Frank thought that the goggles helped Jeffrey to swim faster than the 16.43seconds. Conduct a hypothesis test using a preset $\alpha =0.05$ . Assume that the swim times for the 25-yard freestyle are normal.
Set up the Hypothesis Test:
Since the problem is about a mean, this is a test of a single population mean .
${H}_{\mathrm{o}}$ : $\mu =16.43\phantom{\rule{20pt}{0ex}}$ ${H}_{a}$ : $\mu $ $<16.43$
For Jeffrey to swim faster, his time will be less than 16.43 seconds. The " $$ " tells you this is left-tailed.
Determine the distribution needed:
Random variable: $\overline{X}$ = the mean time to swim the 25-yard freestyle.
Distribution for the test: $\overline{X}$ is normal (population standard deviation is known: $\sigma $ $=0.8$ )
$\overline{X}$ ~ $N(\mu ,\frac{{\sigma}_{X}}{\sqrt{n}})\phantom{\rule{20pt}{0ex}}$ Therefore, $\overline{X}$ ~ $N$ $(16.43,\frac{0.8}{\sqrt{15}})$
$\mu =16.43$ comes from ${H}_{0}$ and not the data. $\sigma =0.8$ , and $n=15$ .
Calculate the p-value using the normal distribution for a mean:
$\text{p-value}=P(\stackrel{-}{x}<16)=0.0187$ where the sample mean in the problem is given as 16.
$\text{p-value}=0.0187$ (This is called the actual level of significance .) The p-value is the area to the left of the sample mean is given as 16.
Graph:
$\mu =16.43$ comes from ${H}_{\mathrm{o}}$ . Our assumption is $\mu =16.43$ .
Interpretation of the p-value: If ${H}_{\mathrm{o}}$ is true , there is a 0.0187 probability (1.87%) that Jeffrey's mean time to swim the 25-yard freestyle is 16 seconds or less.Because a 1.87% chance is small, the mean time of 16 seconds or less is unlikely to have happened randomly. It is a rare event.
Compare $\alpha $ and the p-value:
$\alpha =0.05\phantom{\rule{20pt}{0ex}}\text{p-value}=0.0187\phantom{\rule{20pt}{0ex}}\alpha >\text{p-value}$
Make a decision: Since $\alpha >\text{p-value}$ , reject ${H}_{\mathrm{o}}$ .
This means that you reject $\mu =16.43$ . In other words, you do not think Jeffrey swims the 25-yard freestyle in 16.43 seconds but faster with the new goggles.
Conclusion: At the 5% significance level, we conclude that Jeffrey swims faster using the new goggles. The sample data show there is sufficient evidence that Jeffrey's mean time toswim the 25-yard freestyle is less than 16.43 seconds.
The p-value can easily be calculated using the TI-83+ and the TI-84 calculators:
Press
STAT
and arrow over to
TESTS
. Press
1:Z-Test
. Arrow over to
Stats
and press
ENTER
. Arrow down and enter 16.43 for
${\mu}_{0}$ (null hypothesis), .8 for
$\sigma $ , 16 for the sample mean, and 15 for
$n$ . Arrow down to
$\mu $ : (alternate
hypothesis) and arrow over to
$$
${\mu}_{0}$ . Press
ENTER
. Arrow down to
Calculate
and press
ENTER
. The calculator not only calculates the p-value (
$p=0.0187$ ) but it also
calculates the test statistic (z-score) for the sample mean.
$\mu < 16.43$ is the
alternate hypothesis. Do this set of instructions again except arrow to
Draw
(instead of
Calculate
). Press
ENTER
. A shaded graph appears with
$z=-2.08$ (test statistic) and
$p=0.0187$ (p-value). Make sure when you use
Draw
that no
other equations are highlighted in
$Y=$ and the plots are turned off.
When the calculator does a Z-Test, the
Z-Test
function finds the p-value by
doing a normal probability calculation using the
Central Limit Theorem :
$P(\overline{x}$
$$
$16$ )
$=$
2nd DISTR normcdf
$(-10^99,16,16.43,0.8/\sqrt{15})$ .
The Type I and Type II errors for this problem are as follows:
The Type I error is to conclude that Jeffrey swims the 25-yard freestyle, on average, in less than 16.43 seconds when, in fact, he actually swims the 25-yard freestyle, onaverage, in 16.43 seconds. (Reject the null hypothesis when the null hypothesis is true.)
The Type II error is that there is not evidence to conclude that Jeffrey swims the 25-yard free-style, on average, in less than 16.43 seconds when, in fact, he actually does swim the 25-yard free-style, on average, in less than 16.43 seconds. (Do not reject the null hypothesis when the null hypothesis is false.)
Notification Switch
Would you like to follow the 'Pdf generation problem modules' conversation and receive update notifications?