This applet computes performs inference for a population proportion $p$.
Directions
- Enter the sample size in the $n$ box and enter the sample proportion in the $\hat{p}$ box (i.e. $\hat{p}$ is the number of successes divided by $n$).
- Hitting "Tab" or "Enter" on your keyboard will compute a 95% confidence interval for $p$ (you can change the confidence level using the drop-down box).
- Via the drop-down box, you can choose either the Wald, Score, or Agresti-Coull inference method (the latter two are superior to Wald).
To perform a hypothesis test for $p$, enter $H_0$ and $H_a$. Specify the null and alternative hypotheses with the drop-down boxes. The critical value, rejection region, test statistic, and $p-$value are computed and graphed. Different significance levels can be chosen with the drop-down box.