The Hypothesis Testing On One-Sample Proportion
The Hypothesis Testing On One-Sample Proportion
The Hypothesis Testing On One-Sample Proportion
𝑥−𝜇
𝑧=
𝜎
If the sample means are normally
distributed, then the formula can be
converted to
𝑥 − 𝜇𝑥
𝑧=
𝜎𝑥
𝑥−μ
Formula for the Central Limit Theorem z= 𝜎
𝑛
Performing
Hypothesis
Testing On
One-Sample
Proportion
Prepared by:
EDEN G. ANIVERSARIO, LPT
LEARNING OBJECTIVES
Alternative Hypothesis:
𝑯𝟎 ∶ 𝒑 = 𝟒𝟐, 𝛼 = 0.05
𝛼 0.05
𝑯𝒂 ∶ 𝒑 ≠ 𝟒𝟐 = = 0.475
2 2
Sample size (n)= 150
Critical value = ±1.96
Sample proportion=0.45
α= 0.05
Solution:
𝒑−𝒑 𝟎.𝟒𝟓−𝟎.𝟒𝟐
𝒛= =
𝒑(𝟏−𝒑) 𝟎.𝟒𝟐(𝟏−𝟎.𝟒𝟐) c. Conclusion:
𝒏 𝟏𝟓𝟎 The computed test statistic does not fall
= 0.744 in the rejection region, hence do not
reject the null hypothesis.
Exercise B: Test each of the hypotheses
by using the given information:
Given: b. Determine the critical value.
𝑯𝟎 ∶ 𝒑 = 𝟎. 𝟓, 𝛼 = 0.01
𝑯𝒂 ∶ 𝒑 > 𝟎. 𝟓𝟓 0.5 − 0.01 = 0.49
Sample size (n)= 160 Critical value = +2.33
Sample proportion=0.68
α= 0.01
Solution:
𝒑−𝒑 𝟎.𝟔𝟖−𝟎𝟓𝟓
𝒛= = c. Conclusion:
𝒑(𝟏−𝒑) 𝟎.𝟓𝟓(𝟏−𝟎.𝟓𝟓)
𝒏 𝟏𝟔𝟎 The computed test statistic of z=3.305
= 3.305 falls in the rejection region. Hence,
reject the null hypothesis.
Example 1
It is believed that in the coming election,
65% of the voters in the province of South
Cotabato will vote for the administration
candidate for governor. Suppose 713 out of
the 1,150 randomly selected voters indicate
that they would vote for the administration
candidate. At 0.10 level of significance, find
out whether the percentage of voters for
the administration candidate is different
from 65%.
Solution:
Step 1: State the null and alternative hypotheses.
𝑝−𝑝 0.62−0.65
𝒛= = 0.65(1−0.65)
= -2.133
𝑝(1−𝑝)
𝑛 1,150
Step 4: Determine the critical value.
The alternative hypothesis is non-directional. Hence, the two-
tailed test shall be used. Divide α by 2, and then subtract the quotient
from 0.5.
𝛼 0.10
= = 0.05
2 2
0.5 − 0.05 = 0.45
Using the Areas Under the Normal Curve Table, 𝑧𝛼 = 1.645. At 10% level
2
of significance the critical value is ±1.645.
Solution:
• Verify that np ≥ 5 and nq ≥ 5.
np = 200(0.45) = 90 and nq = 200(0.55) = 110
Solution: Hypothesis Test for Proportions
Solution:
• Verify that np ≥ 5 and nq ≥ 5.
np = 425(0.55) ≈ 234 and nq = 425 (0.45) ≈ 191
Solution: Hypothesis Test for Proportions
• H0: • Test Statistic