### Statistical Inference for $p_1-p_2$

 $n_1=$ $\hat{p}_1=$ $n_2=$ $\hat{p}_2=$

CI for $p_1 - p_2$:

$H_0:p_1-p_2$
$H_a:p_1-p_2$

Use pooled standard error

Significance level: $\alpha =$

Show equations

This applet computes performs inference for the difference between two population proportions, $p_1-p_2$.

#### Directions

• For the first sample, enter the sample size in the $n_1$ box and enter the sample proportion in the $\hat{p}_1$ box.
• Enter the summary statistics, $n_2$ and $\hat{p}_2$, for the second sample.
• Hitting "Tab" or "Enter" on your keyboard will compute a 95% confidence interval for $p_1-p_2$ (you can change the confidence level using the drop-down box).

To perform a hypothesis test for $p_1-p_2$, 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.