... for rejecting H0 depends on the level α and the sample sizes in the two groups, n1 and n2.

Population parameters p1, p2
Null hypothesis H0: p1p2D0
Alternative hypothesis Ha: p1p2 > D0
Sample statistic p^1p^2
Estimated standard error se(p^1p^2)=p^1(1p^1)n1+p^2(1p^2)n2
z-statistic z=(p^1p^2D0)se(p^1p^2)
Reject H0 if p-value < α or z > za

The following checklist insures that the z-test is reliable. The checklist for two-sample comparisons is longer than those for the one-sample test. The first two conditions in the checklist are the most important and require background knowledge of the situation and data. You cannot verify these ...

Get Statistics for Business: Decision Making and Analysis, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.