Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
STATISTICS
Resources for Online Courses
(1) State the null hypothesis H0 and the alternative hypothesis HA.
^ − p0
p
z =
−−−−−−
p (1−p )
0 0
√
n
(4) Make a decision. Determine if the test statistic falls in the critical region. If it does, reject the null
hypothesis. If it does not, do not reject the null hypothesis.
Example
Newborn babies are more likely to be boys than girls. A random sample found 13,173 boys were born among
25,468 newborn children. The sample proportion of boys was 0.5172. Is this sample evidence that the birth of boys
is more common than the birth of girls in the entire population?
H0 : p = 0.5
HA : p > 0.5
https://onlinecourses.science.psu.edu/statprogram/node/164 1/3
2/15/2018 6.0 - Test of Proportion | Statistics
^ − po
p
z =
−−−−−−
p (1−p )
0 0
√
n
0.5172 − 0.5
=
−−−−−−−
0.5(1−0.5)
√
25468
= 5.49
We will reject the null hypothesis H 0 : p = 0.5 if p^ > 0.5052 or equivalently if Z > 1.645
Our Conclusion: We say there is sufficient evidence to conclude boys are more common than girls in the entire
population.
p-value Approach
Next, let's state the procedure in terms of performing a proportion test using the p-value approach. The basic
procedure is:
(1) State the null hypothesis H0 and the alternative hypothesis HA.
^ − po
p
z =
−−−−−−
p (1−p )
√ 0 0
(5) Make a decision. Check whether to reject the null hypothesis by comparing p-value to α . If the p-value <
/(alpha/) then reject H ; otherwise do not reject H .
0 0
Example
Let's investigate by returning to our previous example. Again, we want to test
https://onlinecourses.science.psu.edu/statprogram/node/164 2/3
2/15/2018 6.0 - Test of Proportion | Statistics
H0 : p = 0.5
HA : p > 0.5
^ − po
p
z =
−−−−−−
p (1−p )
0 0
√
n
0.5172 − 0.5
=
−−−−−−−
0.5(1−0.5)
√
25468
= 5.49
P = P (Z ≥ 5.49) = 0.0000 ⋯ ≐ 0
Our Conclusion: Because the p-value is smaller than the significance level α = 0.05 , we can reject the null
hypothesis. Again, we would say that there is sufficient evidence to conclude boys are more common than girls in
the entire population at the α = 0.05 level.
As should always be the case, the two approaches, the critical value approach and the p-value approach lead to the
same conclusion.
https://onlinecourses.science.psu.edu/statprogram/node/164 3/3