Lecture8-2-F-Test
Lecture8-2-F-Test
Lecture 8-2
F-Test
Dr Boža Tasić
I Assumptions:
I We have two populations that are normally distributed!
Population 1 and population 2. Data collected in both
samples are numerical.
I We take a random sample of size n1 from population 1 and a
random sample of size n2 from population 2. Sample selected
from one population has no effect on the sample selected from
the other population, i.e., samples are independent.
I The variance of the sample 1 (from population 1) is denoted
by S12 . The variance of the sample 2 (from population 2) is
denoted by S22
F Test for the Ratio of Two Variances
S12
FSTAT =
S22
where
I S12 and S22 are variances of the samples taken from
populations 1 and 2 of sizes n1 and n2 respectively.
I n1 − 1 = degrees of freedom from sample 1 (the numerator
degrees of freedom)
I n2 − 1 = degrees of freedom from sample 2 (the denominator
degrees of freedom)
F Test for the Ratio of Two Variances
I This test is called F -Test for the Ratio of Two Variances.
The test statistic
S2
FSTAT = 12
S2
follows an F distribution with n1 − 1 and n2 − 1 degrees of
freedom.
I
I The F distribution is a family of curves based on the degrees
of freedom of the variance of the numerator and the degrees
of freedom of the variance of the denominator.
F Test for the Ratio of Two Variances
I
I We use FU = F α2 ,n1 −1,n2 −1 as the upper critical value.
I The lower critical value
1
FL = F1− α2 ,n1 −1,n2 −1 =
F α2 ,n2 −1,n1 −1
Finding the Rejection Region for F Test
I For a lower tail test, i.e. if we are testing
H0 : σ12 ≥ σ22 , H1 : σ12 < σ22
we will have the following rejection region
I
I We use the lower critical value
1
FL = F1−α,n1 −1,n2 −1 =
Fα,n2 −1,n1 −1
Finding the Rejection Region for F Test
I For an upper tail test, i.e. if we are testing
I 2-Sample FTest
I σ1 6= σ2
I F = 1.2559453
I p = 0.58884619
I sx1 = 1.3
I sx2 = 1.16
I n1 = 21
I n2 = 25
I Statistical Decision: Since p-value = 0.589 > α = 0.05, we
do not reject the null hypothesis H0 at α = 0.05.
I Conclusion: The evidence does not indicate that there is a
difference in variances at α = 0.05.
F Test for the Difference Between Two Variances -
Example 2- Using CASIO Calculator
I We wish to determine if there is a difference in the breaking
distances for two types of tires. Assume that the breaking
distances for each type of tire are normally distributed. Based
on the data for the sample of tires shown, at 5% level of
significance, should we conclude that there is a difference in
the variances between Tire A and Tire B?
Breaking Distance (meters)
Tire A Tire B
83 75
79 84
I 82 76
84 83
80 85
81 78
83
F Test for the Difference Between Two Variances -
Example 2- Using CASIO Calculator
1. Select STAT, F3 (TEST), F4(F). Now select in the
2-Sample FTest the following options:
2. Data: F1 (List)
3. σ1 : F1 EXE (6= σ2 )
4. List(1): List1 EXE
5. List(2): List2 EXE
6. Freq(1): 1 EXE
7. Freq(2): 1 EXE
8. Save Res: If you do not want to save results in a list press F1
(None). If you want to save results in a list press F2 and type
the number of list where you want to save results.
10. Execute: key EXE or F1(Calc).
I You will get the following summary:
F Test for the Difference Between Two Variances -
Example 2- Using CASIO Calculator
I 2-Sample FTest
I σ1 6= σ2
I F = 0.20646067
I p = 0.10432125
I x 1 = 81.5
I x 2 = 80.5714286
I sx1 = 1.87082869
I sx2 = 4.11732692
I n1 = 6
I n2 = 7
F Test for the Difference Between Two Variances -
Example 2- Using CASIO Calculator
H0 : µ 1 = µ 2 , H1 : µ1 6= µ2