Two-proportion z statistic
Compare two independent observed proportions using a pooled normal-approximation statistic.
Compare event proportions between two observed groups, such as defects in two production batches.
Compare event proportions between two observed groups, such as defects in two production batches.
x1/n1*100 %x2/n2*100 %(x1/n1)/(x2/n2)Events cannot exceed exposure counts; the reference event count must be positive. This reports observed association without confidence intervals or causal claims.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Compare event proportions between two observed groups, such as defects in two production batches. A ratio of two means the first observed proportion is twice the second; it does not identify why the batches differ.
A ratio of two means the first observed proportion is twice the second; it does not identify why the batches differ.
| Input | Example |
|---|---|
First event count x1 | 20 |
First exposure count n1 | 100 |
Second event count x2 | 10 |
Second exposure count n2 | 100 |
Events cannot exceed exposure counts; the reference event count must be positive. This reports observed association without confidence intervals or causal claims.
Use the displayed example inputs in the stated formula. Keep each quantity in its labelled unit and compare the unrounded result before applying display rounding.