Hypothesis Testing Variance
Hypothesis Testing Variance
Investment Options
Profit of a company
1- Population variance
When a sample is selected from a population that follows a normal distribution the following
ratio follows a chi-square (ꭓ2 ) distribution with n-1 degrees of freedom.
(n-1) s2 / σ2
(𝐧 − 𝟏)𝐬 𝟐 𝟐
(𝐧 − 𝟏)𝐬 𝟐
𝟐
≤ 𝛔 ≤ 𝟐
𝛘𝛂/𝟐 𝛘(𝟏−𝛂/𝟐)
(𝐧−𝟏)𝐬 𝟐
Lower confidence limit:
𝛘𝟐𝛂/𝟐
(𝐧−𝟏)𝐬 𝟐
Upper confidence limit:
𝛘𝟐(𝟏−𝛂/𝟐)
Vishal Mishra (IBS, Hyderabad)
(n−1)s2
Lower confidence limit: 2
χα/2
(n−1)s2
Upper confidence limit: 2
χ(1−α/2)
Vishal Mishra (IBS, Hyderabad)
df = n-1 = 19; α = 5%
χ2α/2 = ?
χ2(1−α/2) = ?
Vishal Mishra (IBS, Hyderabad)
(n−1)s2
Upper confidence limit: 2 = 19* 0.05 / 8.907 = 0.1067
χ(1−α/2)
(n−1)s2
Lower confidence limit: 2 = 19* 0.05 / 32.852 = 0.0289
χα/2
Vishal Mishra (IBS, Hyderabad)
1. H0 : σ2 >= k
H1 : σ2 < k
2. H0 : σ2 <= k
H1 : σ2 > k
3. H0 : σ2 = k
H1 : σ2 ≠ k
Vishal Mishra (IBS, Hyderabad)
This is compared with χ2 - critical (χ2 df, α OR χ2 df, 1-α) and then inference is made about the
hypothesis.
Vishal Mishra (IBS, Hyderabad)
. H0 : σ2 <= 4
H1 : σ2 > 4
n = 30; s2 = 5
. H0 : σ2 <= 4
H1 : σ2 > 4
n = 30; s2 = 5
χ2 - critical = χ2 df, α = χ2 29, 0.05 = 42.557
χ2 - calc = 29*5/4 = 36.25
Since χ2 - calc < χ2 - critical , we accept H0
And infer that …
Vishal Mishra (IBS, Hyderabad)
H0 : σ2 = 2
H1 : σ2 ≠ 2
n = 20; s2 = 3.24
χ2 - critical values:
χ2 − critical lower = χ2 df, 1−α/2 ; χ2 − critical upper = χ2 df, α/2
Vishal Mishra (IBS, Hyderabad)
n = 20; s2 = 3.24
χ2 − critical lower = χ2 df, 1−α/2 = 10.117 ; χ2 − critical upper = χ2 df, α/2 = 30.144
3. H0 : σ12 −σ22 = 0
H1 : σ12 −σ22 ≠ 0
Vishal Mishra (IBS, Hyderabad)
This is compared with F-critical (Fndf, ddf, α) to accept/reject the null hypothesis,
where ndf is numerator degrees of freedom (n1-1) and ddf is denominator degrees of freedom
(n2-1) and α is significance level.
Note 1: The sample variance which is higher is treated as sample taken from population one (in
which case even the lower tail test can be converted to upper tail test).
Note 2: For a two tailed test, F-calc is compared with F-critical upper to accept/reject the null
hypothesis
Vishal Mishra (IBS, Hyderabad)
Problem1: A manufacturer believes that one of it two suppliers has been inconsistent in recent
times and therefore this supplier’s weekly supply time variability has increased when compared
to the other supplier. He studies a data of supply time variations from a random sample of 21
weeks for each of these suppliers and finds that the standard deviation of supply time of
supplier 1 is 3 days as compared to 2 days for supplier 2. What can be inferred at 5%
significance level?
Vishal Mishra (IBS, Hyderabad)
Problem1: A manufacturer believes that one of it two suppliers has been inconsistent in recent
times and therefore this supplier’s weekly supply time variability has increased when compared
to the other suppliers. He studies a data of supply time variations from a random sample of 21
weeks for each of these suppliers and finds that the standard deviation of supply time of
supplier 1 is 3 days as compared to 2 days for supplier 2. What can be inferred at 5%
significance level?
s12 = 9 ; s22 = 4; n1 = n2 = 21
s12 = 9 ; s22 = 4; n1 = n2 = 21
Problem2: A manufacturer believes that weekly supply time variability of it two suppliers is
different. He studies a data of supply time variations from a random sample of 21 weeks for
each of these suppliers and finds that the supply time variability of supplier 1 is 3 days squared
as compared to 2 days squared for supplier 2. What can be inferred at 5% significance level?
Vishal Mishra (IBS, Hyderabad)
Problem2: A manufacturer believes that weekly supply time variability of it two suppliers is
different. He studies a data of supply time variations from a random sample of 21 weeks for
each of these suppliers and finds that the supply time variability of supplier 1 is 3 days squared
as compared to 2 days squared for supplier 2. What can be inferred at 5% significance level?
H0 : σ12 −σ22 = 0
H1 : σ12 −σ22 ≠ 0
s12 = 3 ; s22 = 2 ; n1 = n2 = 21
Vishal Mishra (IBS, Hyderabad)
H0 : σ12 −σ22 = 0
H1 : σ12 −σ22 ≠ 0
s12 = 3 ; s22 = 2 ; n1 = n2 = 21
Problem3: A bottling plant manager believes that the variability of one of its machine (m1) is
less than that of second machine (m2). He randomly collects a sample of 26 bottles from
machine1 and 21 bottles from machine 2 and realizes that the variance of the liquid filled in a 2
litre bottle in m1 is 1.5 ml squared and that in a 2 litre bottle in m2 is 2 ml squared. What can
the manager infer at 1% significance level?
Problem3: A bottling plant manager believes that the variability of one of its machine (m1) is
less than that of second machine (m2). He randomly collects a sample of 26 bottles from
machine1 and 21 bottles from machine 2 and realizes that the variance of the liquid filled in a 2
litre bottle in m1 is 1.5 ml squared and that in a 2 litre bottle in m2 is 2 ml squared. What can
the manager infer at 1% significance level?
Thereby converting a lower tail test to upper tail test. Now we can proceed as usual.