Statistics
Textbooks
Boundless Statistics
Estimation and Hypothesis Testing
Hypothesis Testing: One Sample
Statistics Textbooks Boundless Statistics Estimation and Hypothesis Testing Hypothesis Testing: One Sample
Statistics Textbooks Boundless Statistics Estimation and Hypothesis Testing
Statistics Textbooks Boundless Statistics
Statistics Textbooks
Statistics
Concept Version 7
Created by Boundless

Testing a Single Variance

In this section we will evaluate an example of hypothesis testing for a single variance.

Learning Objective

  • Construct and evaluate a hypothesis test for a single variance.


Key Points

    • A test of a single variance assumes that the underlying distribution is normal.
    • The null and alternate hypotheses are stated in terms of the population variance (or population standard deviation).
    • A test of a single variance may be right-tailed, left-tailed, or two-tailed.

Terms

  • variance

    a measure of how far a set of numbers is spread out

  • null hypothesis

    A hypothesis set up to be refuted in order to support an alternative hypothesis; presumed true until statistical evidence in the form of a hypothesis test indicates otherwise.


Full Text

A test of a single variance assumes that the underlying distribution is normal. The null and alternate hypotheses are stated in terms of the population variance (or population standard deviation). The test statistic is:

$\dfrac { (n-1)\cdot { s }^{ 2 } }{ { \sigma }^{ 2 } }$

where:

$n$ is the total number of data,

${ s }^{ 2 }$ is the sample variance, and

${ \sigma }^{ 2 }$ is the population variance.

We may think of $s$ as the random variable in this test. The degrees of freedom are $df=n-1$.

A test of a single variance may be right-tailed, left-tailed, or two-tailed.

The following example shows how to set up the null hypothesis and alternate hypothesis. The null and alternate hypotheses contain statements about the population variance.

Example 1

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 5 points. One of his best students thinks otherwise. The student claims that the standard deviation is more than 5 points. If the student were to conduct a hypothesis test, what would the null and alternate hypotheses be?

Solution

Even though we are given the population standard deviation, we can set the test up using the population variance as follows.

${ H }_{ 0 }={ \sigma }^{ 2 }={ 5 }^{ 2 }$

${ H }_{ a }={ \sigma }^{ 2 }>{ 5 }^{ 2 }$

Example 2

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.

Solution

Since the claim is that a single line causes lower variation, this is a test of a single variance. The parameter is the population variance, $\sigma^2$, or the population standard deviation, $\sigma$.

Random Variable: The sample standard deviation, $s$, is the random variable. Let $s$ be the standard deviation for the waiting times.

  • ${ H }_{ 0 }={ \sigma }^{ 2 }={ 7.2 }^{ 2 }$
  • ${ H }_{ a }={ \sigma }^{ 2 }<{ 7.2 }^{ 2 }$

The word "lower" tells you this is a left-tailed test.

Distribution for the test: ${ x }_{ 24 }^{ 2 }$, where:

  • $n$ is the number of customers sampled
  • $df = n-1 = 25-1 = 24$

Calculate the test statistic:

$\displaystyle { x }^{ 2 }=\frac { (n-1)\cdot { s }^{ 2 } }{ { \sigma }^{ 2 } } =\frac { (25-1)\cdot { 3.5 }^{ 2 } }{ 7.2^{ 2 } } =5.67$

where $n=25$, $s=3.5$, and $\sigma = 7.2$.

Graph:

Critical Region

This image shows the graph of the critical region in our example.

Probability statement: $p\text{-value} = P(x^2 < 5.67) = 0.000042$

Compare $\alpha $ and the $p$-value: $\alpha =0.05; \ p\text{-value} = 0.000042; \ \alpha > p\text{-value}$

Make a decision: Since $\alpha > p\text{-value}$, reject $H_0$. This means that we reject $\sigma^2 = 7.22$. In other words, we do not think the variation in waiting times is 7.2 minutes, but lower.

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.

[ edit ]
Edit this content
Prev Concept
Testing a Single Mean
Using Two Samples
Next Concept
Subjects
  • Accounting
  • Algebra
  • Art History
  • Biology
  • Business
  • Calculus
  • Chemistry
  • Communications
  • Economics
  • Finance
  • Management
  • Marketing
  • Microbiology
  • Physics
  • Physiology
  • Political Science
  • Psychology
  • Sociology
  • Statistics
  • U.S. History
  • World History
  • Writing

Except where noted, content and user contributions on this site are licensed under CC BY-SA 4.0 with attribution required.