AP Statistics : How to do one-sided tests of significance

Study concepts, example questions & explanations for AP Statistics

varsity tutors app store varsity tutors android store

Example Questions

Example Question #1 : How To Do One Sided Tests Of Significance

A pretzel company advertises that their pretzels contain less than 1.0g of of sodium per serving. You take a simple random sample of 10 pretzel servings, and calculate that the mean amount of sodium is 1.20 g, with a standard deviation of 0.1 g.

At the 95% confidence level, does your sample suggest that the pretzels actually have higher than 1.0g of sodium per serving?

Possible Answers:

Yes, because t= 6.32 and p=0.00006847

Yes, because t= 6.32 and p=0.00013694

No, because t=6.32 and p=0.00006847

No, because t=6.22 and p=0.96593153

No, because t=6.32 and p=0.99993153

Correct answer:

Yes, because t= 6.32 and p=0.00006847

Explanation:

This is a one- tailed t-test. It is one-tailed because the question asks whether the pretzel's mean is actually higher, so we are only interested in the right hand tail. We will be using the t-distribution because the population standard deviation is not known.

First we write our hypotheses:

\(\displaystyle H_o: \mu\leq 1.0\)

\(\displaystyle H_a: \mu > 1.0\)

 

Now we need the appropriate formula for a t-test. We will be using standard error because we are working with the standard deviation of a sampling distribution.

\(\displaystyle t=\frac{ \bar{x} - \mu }{\frac{s}{\sqrt{n}}}\)

Now we fill in the values from our problem

\(\displaystyle \bar{x}=1.2\)

\(\displaystyle \mu=1.0\)

\(\displaystyle s=0.1\)

\(\displaystyle n=10\)

\(\displaystyle df=n-1=10-1=9\)

\(\displaystyle t= \frac{1.2 - 1.0}{\frac{.1}{\sqrt{10}} }\)

\(\displaystyle t=6.32\)

Now we must look up the t-critical value, or use technology to find the p-value.

We must find the t-critcal value by finding \(\displaystyle t_{\alpha , df}\)

\(\displaystyle t _{(0.05, 9)} ; t= 1.833\)


Because our test statistic 6.32 is more extreme than our critical value, we reject our null hypothesis and conclude that the pretzels do have a higher mean than 1.0.

If you calculated a p-value using technology, p=0.00006884.

Because \(\displaystyle p< \alpha\), we reject our null hypothesis and conclude that the pretzels do have a higher mean than 1.0 g.

Example Question #2 : How To Do One Sided Tests Of Significance

James goes to UCLA, and he believes that the atheletes of UCLA are better runners, than the country average. He did a bit of a research and found that the national average time for a two-mile run for college atheletes is \(\displaystyle 14\)min with a standard deviation of \(\displaystyle 1\) minute. He then sampled \(\displaystyle 50\) UCLA atheletes and found that their average two-mile time was \(\displaystyle 13.8\) minutes.

Is James' data statistically significant? Can we confirm that UCLA atheletes are better than average runners? And if so, to which level of certainty: \(\displaystyle 0.2\), \(\displaystyle 0.1\), \(\displaystyle 0.05\)\(\displaystyle 0.01\)

Possible Answers:

Yes, to a certainty of \(\displaystyle 0.2\)

Yes, to a certainty of \(\displaystyle 0.05\)

Yes, to a certainty of \(\displaystyle 0.1\)

Yes, to a certainty of \(\displaystyle 0.01\)

No, the data is not statistically significant

Correct answer:

Yes, to a certainty of \(\displaystyle 0.05\)

Explanation:

Using a Z-test (we have population SD, not sample SD) and a population of \(\displaystyle 50\), we arrive at a P-value of \(\displaystyle 0.0385\), which is lower than \(\displaystyle 0.05\), but above \(\displaystyle 0.01\).

Learning Tools by Varsity Tutors