Professional Documents
Culture Documents
The Chi-Square
Chi Square Distribution
The point estimate for σ2 is s2, and the point estimate for σ
is s. s2 is the most unbiased estimate for σ2.
1
The Chi-Square
Chi Square Distribution
Four properties of the chi-square distribution are as follows.
1. All chi-square values χ2 are greater than or equal to zero.
2. The chi-square distribution is a family of curves, each
determined by the degrees of freedom. To form a confidence
interval for σ2, use the χ2-distribution with degrees of
freedom. To form a confidence interval for σ2, use the
χ2-distribution with degrees of freedom equal to one less
than the sample size.
3. The area under each curve of the chi-square distribution
equals one.
4. Find the critical value zc that corresponds to the given level
of confidence.
5. Chi-square distributions are positively skewed.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 3
1 −c
1− (1 −2 c ) = 1 +2 c
2
X2 X2
X2R X2L
Area to the right of X2R Area to the right of X2L
1 −c c
The area between the left and
2 1 −c right critical values is c.
2
X2
X2L X2R
Larson & Farber, Elementary Statistics: Picturing the World, 3e 4
2
Critical Values for X2
Example:
Example
Find the critical values χ2R and χ2L for an 80% confidence
when the sample size is 18.
χ2R = 24.769
χ2L = 10.085
Larson & Farber, Elementary Statistics: Picturing the World, 3e 6
3
Confidence Intervals for σ2 and σ
A c-confidence interval for a population variance and
standard deviation is as follows.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 8
4
Confidence Intervals for σ2 and σ
Constructing a Confidence Interval for a Variance and a Standard
Deviation
In Words In Symbols
5. Find the left and right endpoints (n − 1)s 2 (n − 1)s 2
2 <σ2 <
and form the confidence interval. XR X L2
6. Find the confidence interval for
(n − 1)s 2 (n − 1)s 2
the population standard deviation 2
<σ <
XR X L2
by taking the square root of each
endpoint.
5
Constructing a Confidence Interval
Example continued:
χ2L = 26.509
χ2R = 55.758
Left endpoint = ? Right endpoint = ?
• •
(n − 1)s 2 (41 − 1)(0.05)2 (n − 1)s 2 (41 − 1)(0.05)2
= =
χ R2 55.758 χ L2 26.509
≈ 0.04 ≈ 0.06
0.04 < σ < 0.06
Hypothesis Testing
for Variance and
Standard Deviation
6
Critical Values for the χ2-Test
Test
Finding Critical Values for the χ2-Distribution
1. Specify the level of significance α.
2. Determine the degrees of freedom d.f. = n – 1.
3. The critical values for the χ2-distribution are found in Table
6 of Appendix B. To find the critical value(s) for a
a. right-tailed test, use the value that corresponds to
d.f. and α.
b. left-tailed test, use the value that corresponds to d.f.
and 1 – α.
c. two-tailed test, use the values that corresponds to
1
d.f. and 12 α and d.f. and 1 – 2 α.
Example:
Find the critical value for a two-tailed test when n = 26
and α = 0.01.
There are 25 d.f. The areas to the right of the critical
1 1
values are 2 α = 0.005 and 1 – 2 α = 0.995.
From Table 6, the critical values are χ2L = 10.520 and
χ2R = 46.928.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 14
7
The Chi-Square
Chi Square Test
The χ2-test for a variance or standard deviation is a
statistical test for a population variance or standard
deviation. The χ2-test can be used when the population is
normal.
The Chi-Square
Chi Square Test
Using the χ2-Test for a Variance or Standard Deviation
In Words In Symbols
1. State the claim mathematically State H0 and Ha.
and verbally. Identify the null
and alternative hypotheses.
2. Specify the level of significance. Identify α.
3. Determine the degrees of freedom d.f. = n – 1
and sketch the sampling
distribution.
4. Determine any critical values. Use Table 6 in
Appendix B.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 16
8
The Chi-Square
Chi Square Test
Using the χ2-Test for a Variance or Standard Deviation
In Words In Symbols
5. Determine any rejection regions.
2
6. Find the standardized test χ 2 = (n − 1)s
statistic. σ2
7. Make a decision to reject or fail to If χ2 is in the
reject the null hypothesis. rejection region,
reject H0. Otherwise,
fail to reject H0.
8. Interpret the decision in the
context of the original claim.
α = 0.01
X2
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 18
9
Hypothesis Test for Standard Deviation
Example continued:
A college professor claims that the standard deviation
for students taking a statistics test is less than 30. 10
tests are randomly selected and the standard deviation
is found to be 28.8. Test this professor’s claim at the
α = 0.01 level.
H0: σ ≥ 30 Ha: σ < 30 (Claim)
2 2
χ20 = 2.088 α = 0.01 χ 2 = (n − 1)s = (10 − 1)(28.8)
σ2 302
≈ 8.29
X 2
X20 = 2.088 Fail to reject H0.
At the 1% level of significance, there is not enough evidence
to support the professor’s claim.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 19
1 1
α = 0.025 α = 0.025
2 2
X2
X2L X2R Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 20
10
Hypothesis Test for Variance
Example continued:
continued
A local balloon company claims that the variance for the
time its helium balloons will stay afloat is 5 hours. A
disgruntled customer wants to test this claim. She
randomly selects 23 customers and finds that the variance
of the sample is 4.5 seconds. At α = 0.05, does she have
enough evidence to reject the company’s claim?
H0: σ2 = 5 (Claim) Ha: σ2 ≠ 5
1 1
α = 0.025 α = 0.025
2 2
X2
10.982 36.781 Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 21
11