Lecture 4 - Chap15
Lecture 4 - Chap15
Introduction
In this chapter we make inferences about population
variance (s) by utilising the approach developed previously
for making statistical inference about population
parameters such as population mean μ and population
proportion p.
(n − 1) s 2
2 = d. f . = = n −1
2
15.9
The 2 table
A =0.01
d.f. = 10
A =0.01
1-A
.990 .010
01,10 = 23.2093
Degrees of
freedom
1 0.0000393 0.0001571 0.0009821 . . 6.6349 7.87944
.
.
10 2.15585 2.55821 3.24697 . . 23.2093 25.1882
. . . . . .
. . . . . . . .
15.10
(n -1)s 2
(n -1)s 2
<s <
2
c a /2,n-1
2
c 2
1-a /2,n-1
15.12
(n − 1) s 2
Lower confidence limit = LCL =
2 /2,n−1
(n − 1) s 2
Upper confidence limit = UCL =
12− /2,n−1
Our hypotheses:
Null hypothesis H0: 2 = 02
Alternative hypothesis is then
HA: 2 02 or H A : 2 > 0 2 or H A : 2 < 0 2
Test statistic is
(n − 1)s 2
2 = .
2
Identifying factors
15.15
(n − 1) s 2 (n − 1) s 2
LCL = UCL =
/2,n−1
2
12− /2,n−1
15.17
Rejection
region
2 13.8484
13.8484 20.8 2
0.95,
2
25−1
Conclusion: As p-value =
0.3484 > 0.05 = , we do
not reject Ho (2 = 1).
F-distribution
15.27
F-distribution…
15.28
Example:
F0.05, 4, 8 = 3.84
F0.05, 8, 4 = 6.04
For example,
1 1
F0.95,4,8 = = = 0.166
F0.05,8,4 6.04
15.30
s12 1 2 s 2
1
1 F / 2, ,
s2 F 2 s2 2 1
2 / 2 , ,
1 2 2 2
where 1 = n1 − 1 and 2 = n2 − 1
Example 2
Example 2 – Solution
We find F/2,v1,v2 = F0.05,9,19 = 2.42 and F/2,v2,v1 = F0.05,19,9 = 2.94
LCL = (s12/s22)[1/F/2,v1,v2 ]
= (s12/s22)[1/F0.05,9,19 ]
= (20376.2/214004)[1/2.42] = 0.04
UCL = (s12/s22)[ F/2,v2,v1 ]
= (s12/s22)[ F0.05,19,9 ]
= (20376.2/214004)[2.94] = 0.28
95% confidence interval estimate for 12/22 is [0.04,0.28].
15.36
As was the case in all other tests, we can formulate any of the
three possible alternative hypotheses and the corresponding
decision rule based on an F-test.
1 HA: σ12/σ22 ≠ 1, where the rejection region is F > F/2
or F < F1-(/2)
2 HA: σ12/σ22 > 1, where the rejection region is F > F
3 HA: σ12/σ22 < 1, where the rejection region is F < F1-
15.38
Example 3
(Example 15.5, p589)
XM15-05 In Example 14.2, we applied the unequal-
variances t-test of μ1 – μ2. We chose that test statistic
after calculating the standard deviation of the sample of
consumers of high-fibre cereal to be 142.75 and the
standard deviation of the sample of non-consumers of
high-fibre cereal to be 462.61. The difference between
the two sample standard deviations appears to indicate
that the population standard deviations (and, of course,
variances) differ. We can make this process more formal
by conducting an F-test of σ12/σ22.
15.39
Example 3 – Solution
Solving manually
1. The null and alternative hypotheses:
H0: σ12/σ22 = 1
HA: σ12/σ22 1 s12
2. The test statistic under Ho is F = 2
s2
3. Level of significance: α = 0.05
4. Decision rule:
Reject H0 if F F /2,1, 2 = F0.025,9,19 = 2.88
or F F1− /2,1, 2 = F0.975,9,19 = 1/ F0.025,19,9 = 1/ 3.67 = 0.272
OR if p-value < = 0.05
Otherwise, do not reject H0.
15.40
Example 3 - Solution…
Solving manually
5. Value of the test statistic: F = s12/s22 = 0.0952
6. Conclusion: As F = 0.0952 < 0.272, we reject Ho in
favour of the alternative (σ12/σ22 1).
Example 3 - Solution…
Using Excel (Data Analysis)
In the F-Test Two Sample for Variances dialogue box (shown
below), in Data Analysis, enter the input and the output is
presented in the next slide.
15.42
Example 3 - Solution…
Using Excel (Data Analysis)
The Excel output is presented below.
Conclusion: As p-value =
2 0.0005 = 0.001 < 0.05
= , we reject Ho in
favour of the alternative
(σ12/σ22 1).