A test of a single variance assumes that the underlying distribution is normal. The null and alternative hypotheses are stated in terms of the population variance (or population standard deviation). The test statistic is:
where:
- n = the total number of data
- s^{2} = sample variance
- Ïƒ^{2} = population variance
You may think of s as the random variable in this test. The number of degrees of freedom is df = n - 1. A test of a single variance may be right-tailed, left-tailed, or two-tailed. Example 11.10 will show you how to set up the null and alternative hypotheses. The null and alternative hypotheses contain statements about the population variance.
Example 11.10
Math instructors are not only interested in how their students do on exams, on average, but how the exam scores vary. To many instructors, the variance (or standard deviation) may be more important than the average.
Suppose a math instructor believes that the standard deviation for his final exam is five points. One of his best students thinks otherwise. The student claims that the standard deviation is more than five points. If the student were to conduct a hypothesis test, what would the null and alternative hypotheses be?
Even though we are given the population standard deviation, we can set up the test using the population variance as follows.
- H_{0}: Ïƒ^{2} = 5^{2}
- H_{a}: Ïƒ^{2} > 5^{2}
A SCUBA instructor wants to record the collective depths each of his students dives during their checkout. He is interested in how the depths vary, even though everyone should have been at the same depth. He believes the standard deviation is three feet. His assistant thinks the standard deviation is less than three feet. If the instructor were to conduct a test, what would the null and alternative hypotheses be?
Example 11.11
With individual lines at its various windows, a post office finds that the standard deviation for normally distributed waiting times for customers on Friday afternoon is 7.2 minutes. The post office experiments with a single, main waiting line and finds that for a random sample of 25 customers, the waiting times for customers have a standard deviation of 3.5 minutes.
With a significance level of 5%, test the claim that a single line causes lower variation among waiting times (shorter waiting times) for customers.
Since the claim is that a single line causes less variation, this is a test of a single variance. The parameter is the population variance, Ïƒ^{2}, or the population standard deviation, Ïƒ.
Random Variable: The sample standard deviation, s, is the random variable. Let s = standard deviation for the waiting times.
- H_{0}: Ïƒ^{2} = 7.2^{2}
- H_{a}: Ïƒ^{2} < 7.2^{2}
The word "less" tells you this is a left-tailed test.
Distribution for the test: ${\mathrm{\xcf\u2021}}_{24}^{2}$, where:
- n = the number of customers sampled
- df = n â€“ 1 = 25 â€“ 1 = 24
Calculate the test statistic:
${\mathrm{\xcf\u2021}}^{2}=\frac{(n\text{}\xe2\u02c6\u2019\text{}1){s}^{2}}{{\mathrm{\xcf\u0192}}^{2}}=\frac{(25\text{}\xe2\u02c6\u2019\text{}1){(3.5)}^{2}}{{7.2}^{2}}=5.67$
where n = 25, s = 3.5, and Ïƒ = 7.2.
Graph:
Probability statement: p-value = P ( Ï‡^{2} < 5.67) = 0.000042
Compare Î± and the p-value:
Î± = 0.05;
p-value = 0.000042;
Î± > p-value
Make a decision: Since Î± > p-value, reject H_{0}. This means that you reject Ïƒ^{2} = 7.2^{2}. In other words, you do not think the variation in waiting times is 7.2 minutes; you think the variation in waiting times is less.
Conclusion: At a 5% level of significance, from the data, there is sufficient evidence to conclude that a single line causes a lower variation among the waiting times or with a single line, the customer waiting times vary less than 7.2 minutes.
Using the TI-83, 83+, 84, 84+ Calculator
In 2nd DISTR
, use 7:Ï‡2cdf
. The syntax is
(lower, upper, df)
for the parameter list.
For Example 11.11, Ï‡2cdf(-1E99,5.67,24)
. The p-value = 0.000042.
The FCC conducts broadband speed tests to measure how much data per second passes between a consumerâ€™s computer and the internet. As of August of 2012, the standard deviation of Internet speeds across Internet Service Providers (ISPs) was 12.2 percent. Suppose a sample of 15 ISPs is taken, and the standard deviation is 13.2. An analyst claims that the standard deviation of speeds is more than what was reported. State the null and alternative hypotheses, compute the degrees of freedom, the test statistic, sketch the graph of the p-value, and draw a conclusion. Test at the 1% significance level.