ECN 416 - Applied Statistics Week 6
ECN 416 - Applied Statistics Week 6
ECN 416
Theory of Estimation and Test of
Hypothesis Part 2
TEST OF HYPOTHESIS
β = P (Accepting H0 | H0 is False)
1- β = P (Rejecting H0 | H1 is True)
Power Curve
• A graph of 1- β against various alternative
values of Ө is called the Power Curve.
• The higher the power of the test the stronger
its discriminating power between a true and
false hypothesis.
• If there exists a test that is uniformly more
powerful than any other test of the same size α,
we call such test the Uniformly Most Powerful
Test.
BASIC STEPS IN HYPOTHESIS TESTING
H0 H1 Reject H0 , If :
µ = µ0 µ ǂ µ0 |Z| > Z 1-α/2
µ = µ0 µ > µ0 Z > Z 1-α
µ = µ0 µ < µ0 Z < - Z 1-α
Z = ( x - µ) / (σ / √n) ~ N(0,1)
SOME SPECIFIC TESTS Contd.
Example
From a normal population of variance 16 units, a
random sample of 36 items gave a mean value
of 84 units at the 5% level of significance. Test
the hypothesis:
H1 : µ ǂ 80
H1 : µ > 80
SOME SPECIFIC TESTS Contd.
Solution
(a) H0 : µ = 80 H1 : µ ǂ 80 α = 0.05
Z = (84 - 80) / (4 / √36) = 5.97
t = ( x - µ) / (s / √n) ~ t(n-1)
SOME SPECIFIC TESTS Contd.
Example
In an intelligence test on Ten Students, the
following scores were obtained :
105, 120, 90, 65, 130, 110, 120, 115, 125, 100.
Given that the average score for the class before a
specified tutorial for the test was 105, has the
special tutorial improved the performance of the
students? Let α = 1%
SOME SPECIFIC TESTS Contd.
Solution
H0 : µ = 105H1 : µ > 105 α = 0.01,
x = 110s = 8
t = (110 - 105) / (8 / √ 10) = 1.96
t α (n-1) = t 0.01 (9) = 2.82
C. Testing for π
SOME SPECIFIC TESTS Contd.
H0 H1 Reject H0 , If :
π = π0 π ǂ π0 |Z| > Z 1-α/2
π = π0 π > π0 Z > Z 1-α
π = π0 π < π0 Z < - Z 1-α
Z = ( p - π) / σp
= ( p - π) / sp ~ N(0,1)
SOME SPECIFIC TESTS Contd.
Example
A political party stalwart claims that he has the
support of 55% of the voters in his constituency.
What will the party executive committee
conclude if out of a random sample of 500
registered voters only 245 express their
preference for him? Take α = 0.05.
SOME SPECIFIC TESTS Contd.
Solution
H0 : π = 0.55 H1 : π < 0.55 α = 0.05,
p = √ [(0.49)(0.51) / 500] = 0.022
Z = (0.49 – 0.55) / 0.022 = - 2.73
-Z 1- α = -Z 0.95 = -1.64
Conclusion: Since -2.73 < -1.64, therefore we reject H0 .
Therefore the claim by the party stalwart of the support of
55% of the voters in his constituency is not justified by the
available data.
SOME SPECIFIC TESTS Contd.
H0 H1 Reject H0 , If :
µ1 = µ2 µ1 ǂ µ2 | t | > t α/2 (v) df
µ1 = µ 2 µ1 < µ 2 t > t α (v) df
µ1 = µ 2 µ1 > µ 2 t < - t α (v) df
SOME SPECIFIC TESTS Contd.
where v = n1 + n2 -2
Assuming that the variances of the two groups are the same, is
there any significance difference between the means of the two
groups at 5% level?
SOME SPECIFIC TESTS Contd.
Solution
Conclusion: Since | 1.038 | < 2.09, Accept H0. There is nothing to show that the difference
between the means of the two groups of students is significant at 5% level.
SOME SPECIFIC TESTS Contd.
H0 H1 Reject H0 , If :
µ1 = µ2 µ1 ǂ µ2 | t | > t α/2 (v/) df
µ1 = µ 2 µ1 > µ 2 t > t α (v/) df
µ1 = µ 2 µ1 < µ 2 t < - t α (v/) df
SOME SPECIFIC TESTS Contd.
Where
σ x1 – x2 = √ [ (s12 / n1) + (s22 / n2) ]
and
v/ = [(s12 / n1) + (s22 / n2)]2 / [(s12 / n1)2 / n1 +
(s22 / n2)2 / n2]
SOME SPECIFIC TESTS Contd.
Example
Example
Consider 2 random samples of sizes 11, 25. If the
sample variances are 35.31 meters and 15.67
meters respectively, test the hypothesis that
σ12 = σ22 against the alternatives
σ12 ǂ σ22 at 5% level
σ12 < σ22 at 1% level
SOME SPECIFIC TESTS Contd.
H0 : σ12 = σ22 H1: σ12 ǂ σ22 α = 0.05