Two-Proportion z-Test Calculator
Inputs
| Alternative hypothesis | Two-tailed (p₁ ≠ p₂) |
|---|---|
| Successes in group 1 | 45 |
| Sample size of group 1 | 100 |
| Successes in group 2 | 30 |
| Sample size of group 2 | 100 |
Two-Proportion z-Test Calculator
Inputs
Group 1
≥ 1
Group 2
≥ 1
Results
Enter a value to see results.
Intermediate values
\begin{aligned} z &= \dfrac{\hat{p}_1 - \hat{p}_2}{\sqrt{\hat{p}(1 - \hat{p})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}} \\ &= \dfrac{(?) - (?)}{?} \\ &= ? \end{aligned}
\begin{aligned} p &= P(|Z| > |z|) \\ &= \Phi(z)\ \text{combined per tail} \\ &= ? \end{aligned}
Recommended Next
One-Sample t-Test Calculator
Test whether a sample mean differs from a hypothesized population mean. Enter the sample mean, standard deviation, and size, choose a hypothesis direction, and get the t statistic, degrees of freedom, and p-value.
Two-Sample t-Test Calculator (Welch)
Run a Welch's two-sample t-test from summary statistics. Enter the mean, standard deviation, and sample size of two independent groups to get the t statistic, degrees of freedom, and two-tailed p-value.