Proportion Test New
Proportion Test New
Topics to be covered
o H0: pA = pB
o H0: pA ≤ pB
o H0: pA ≥ pB
o Ha: pA ≠ pB (different)
o Ha: pA > pB (greater)
o Ha: pA < pB (less)
Determining the Type Of Proportion Test
ONE SAMPLE:
TEST ON A
SINGLE
PROPORTION
TWO SAMPLE:
TEST ON TWO
PROPORTIONS
Stating the Decision
The decision rule is a statement that tells under what circumstances to reject the null hypothesis. The
decision rule is based on specific values of the test statistic (e.g., reject H0 if Z > 1.645). The decision rule
for a specific test depends on 3 factors: the research or alternative hypothesis, the test statistic and the
level of significance. Each is discussed below.
1. The decision rule depends on whether an upper-tailed, lower-tailed, or two-tailed test is proposed.
In an upper-tailed test the decision rule has investigators reject H0 if the test statistic is larger than
the critical value. In a lower-tailed test the decision rule has investigators reject H0 if the test statistic
is smaller than the critical value. In a two-tailed test the decision rule has investigators reject H0 if
the test statistic is extreme, either larger than an upper critical value or smaller than a lower critical
value.
2. The exact form of the test statistic is also important in determining the decision rule. If the test
statistic follows the standard normal distribution (Z), then the decision rule will be based on the
standard normal distribution. If the test statistic follows the t distribution, then the decision rule will
be based on the t distribution. The appropriate critical value will be selected from the t distribution
again depending on the specific alternative hypothesis and the level of significance.
3. The third factor is the level of significance. The level of significance which is selected in Step 1 (e.g., α
=0.05) dictates the critical value. For example, in an upper tailed Z test, if α =0.05 then the critical
value is Z=1.645.
Stating the Decision
Rejection Region for Upper-Tailed Z Test (H1: p > p0 )
with α=0.05 Upper-Tailed Test
α Z
0.10 1.282
0.05 1.645
0.025 1.960
0.010 2.326
0.005 2.576
0.001 3.090
0.0001 3.719
a Z
0.10 -1.282
0.05 -1.645
0.025 -1.960
0.010 -2.326
0.005 -2.576
0.001 -3.090
0.0001 -3.719
α Z
0.20 1.282
0.10 1.645
0.05 1.960
0.010 2.576
0.001 3.291
0.0001 3.819
▪ The original sample consisted of 500 children, and 86% of them had Internet
access at home. The P-value was about 0.22, which was not strong enough to
reject the null hypothesis. There was not enough evidence to show that the
proportion of all U.S. children ages 8 to 18 have Internet access at home.
▪ Suppose we sampled 2,000 children and the sample proportion was still 86%.
Our test statistic would be Z ≈ 2.44, and our P-value would be about 0.015.
The larger sample size would allow us to reject the null hypothesis even
though the sample proportion was the same.
Sample Size and Hypothesis Testing
Sample Size and Hypothesis Testing
Test at α=.05
Problem # 3
100
County A: 400 unemployed
44
County B: 200 unemployed
Test at α=.05
Problem # 4