Hypothesis Tests About a Population Proportion: Large Samples
Use the critical-value approach for a one-sample proportion z test: choose H0 / H1, pick α, find the critical z value(s), compute the observed z, and decide whether to reject H0.
Statistics • Hypothesis Tests About the Mean and Proportion
Use the critical-value approach for a one-sample proportion z test: choose H0 / H1, pick α, find the critical z value(s), compute the observed z, and decide whether to reject H0.
The critical value approach compares the observed z test statistic to cutoff value(s) determined by alpha and the tail direction. You reject H0 if z falls in the rejection region defined by the critical z value(s).
First compute p-hat = x/n. Under H0, the standard error is SE0 = sqrt(p0(1 - p0)/n), and the test statistic is z = (p-hat - p0)/SE0.
For a two-tailed test, the critical values are plus/minus z(alpha/2). For a left-tailed test the cutoff is negative and you reject when z is at or below the left critical value; for a right-tailed test the cutoff is positive and you reject when z is at or above the right critical value.
A common guideline is that expected counts under the null are at least 5: n x p0 >= 5 and n x (1 - p0) >= 5. If these are not met, the z approximation can be unreliable.
Beta is the probability of not rejecting H0 when the true proportion differs from p0 in the direction of H1 (a Type II error). Power is 1 - beta and represents the probability of correctly rejecting H0 for the assumed true proportion.