Lably
Skip to content

Two-proportion Z-test

Statistical methods for comparing samples

  • 12 min read
  • 8 chapters

Related on Lably

Through Statistical hypothesis test, Central limit theorem and Normal distribution

The test is appropriate when each observation is independent from another, can be classified as a success or failure (i.e., a Bernoulli trial) and the sample sizes are large enough that the sampling distribution of each sample proportion is well approximated by the central limit theorem. Under those conditions the observed difference of sample proportions can be converted to a standardized z-statistic (using a pooled standard error) and compared to the standard normal distribution to obtain p-values or form confidence intervals for the difference in proportions (derived slightly differently). This also allows to determine required sample-size for a minimum-detectable-effect calculations.

The test is related to other well known tests such as Pearson's chi-squared test, Fisher's exact test for small samples, and McNemar's test for paired binary data.

Definition

The two-proportion Z-test or two-sample proportion Z-test is a statistical method used to determine whether the difference between the proportions of two groups, coming from a binomial distribution is statistically significant. This approach relies on the observation that (for a sufficiently large samples) the sample proportions follow a normal distribution under the Central Limit Theorem, allowing the construction of a z-test for hypothesis testing (a Score test) and confidence interval estimation (a Wald test). It is used in various fields to compare success rates, response rates, or other proportions across different groups.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Statistics