Power Analysis for Proportion Tests

Statistics
Introduced by
Jacob Cohen
Year
1988
Type
Sample size determination

What does it do?

Power analysis for proportion tests is a prospective sample-size planning method.

It estimates how many observations are needed to detect a specified difference between two proportions (or between one proportion and a reference value) with a chosen probability. The method is built on Cohen's h, an effect-size index based on the arcsine transformation of proportions, and it is presented in Cohen's 1988 text.

The intuition behind the method

Imagine you are designing a clinical trial to compare the success rate of two treatments — say 50% versus 30%. You want to be reasonably sure that, if that gap truly exists in the population, your study will find it. Power analysis answers the question: how many patients must I recruit so that I have at least an 80% chance of getting a significant result? It balances four linked quantities — effect size, sample size, significance level, and power — so that fixing any three determines the fourth.

History

Jacob Cohen's 1988 book Statistical Power Analysis for the Behavioral Sciences set out the framework of effect sizes and sample-size formulas for power analysis across several test families, and the h effect-size index for proportions is presented within that framework. The method is now widely used in study planning for comparisons of proportions. The text cited here is the 1988 second edition; the bibliographic record matched to it carries the year 2013.

When to use it

Use this analysis when planning a study that compares binary outcomes expressed as proportions, such as success rates, prevalence, response rates or event rates, between two independent groups or against one reference proportion. The expected proportions, the significance level and the target power should be fixed before data collection. Do not use it for paired proportions, where a paired design such as McNemar's test calls for its own power calculation. It is also not the right tool for count outcomes modelled with a Poisson distribution, or for clustered or stratified designs unless the sample size is adjusted for them.

Limitations and considerations

  • The required n depends directly on h, which is calculated from the assumed proportions; because the expected proportions are often uncertain, the resulting sample size can be substantially wrong if those assumptions are optimistic.
  • The formula relies on a normal approximation, which can be imprecise when proportions are close to 0 or 1 or when sample sizes are very small.
  • The formula assumes independent observations from a simple design; clustering, stratification or other complex sampling is not captured without further adjustment.
  • The page treats n below 10 as too small for the normal-approximation result to be reliable, and recommends simulation-based methods in that case.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Makes the key assumptions explicit before recruitment: the expected proportions, the significance level and the target power are all stated, which is the information ethics reviewers and funders usually request.
  • The arcsine transformation yields one effect-size index, h, that can be used across different baseline proportions, so the same formula covers a range of rate comparisons.
  • Because the closed-form expression can be rearranged, it can also be solved for the power achievable with a fixed sample size, which is useful for feasibility checks.
  • Cohen's h = 0.20, 0.50 and 0.80 benchmarks give a common reference scale for judging effect sizes across studies, although they are conventions rather than empirical standards.

Applications

  • Clinical trials comparing treatment success rates between an experimental and a control arm.
  • Survey research estimating the minimum sample needed to detect a specified prevalence or response rate with desired precision.
  • Epidemiological cohort studies comparing disease rates between exposed and unexposed groups.
  • Quality control studies determining how many units to inspect to detect a defect rate above a threshold.
  • Public health interventions assessing uptake or compliance rates before and after a programme.

How it works

How it works

1

The null hypothesis states that the two population proportions are equal (H₀: p₁ = p₂). The alternative states that they differ (two-tailed) or that one is larger than the other (one-tailed). Cohen's h quantifies the expected gap between the two proportions: h = 2 arcsin(√p₁) − 2 arcsin(√p₂). By Cohen's conventions, |h| ≈ 0.20 is small, 0.50 medium, and 0.80 large.

Formula
H_0:\ p_1 = p_2 \quad H_1:\ p_1 \neq p_2
2

The closed-form expression n = (z_{α/2} + z_β)² / h² uses z_{α/2} for the chosen significance level (1.96 for α = 0.05, two-tailed) and z_β for the desired power (0.84 for 80% power). As written, this is the one-sample form, used for comparing one proportion with a reference value. For two independent groups the per-group requirement differs, so it should not be taken from this expression without checking the two-group formula in the source. The arcsine transformation approximately stabilises the variance of each sample proportion across different baseline values, which is why a single index h can be used across rates.

Formula
h = 2\arcsin\!\sqrt{p_1}\;-\;2\arcsin\!\sqrt{p_2}, \quad n = \frac{(z_{\alpha/2}+z_\beta)^2}{h^2}
3

If the calculated n is met or exceeded, the study reaches the target power under the assumed proportions. When participant loss or dropout is expected, a common planning convention is to increase the recruitment target, for example by about 10–20%; this is a practical convention rather than a sourced rule. Small computed n values (below 10) make the normal approximation less reliable, so exact or simulation-based power methods are a safer choice in that range.

Formula
\text{Achieve power}\;1-\beta\;\text{when}\;n \geq \frac{(z_{\alpha/2}+z_\beta)^2}{h^2}

Common pitfalls

  • Using an overly optimistic effect size from pilot data with very small samples. Pilot estimates are highly variable and tend to overstate the true difference, so the planned n can be too small.
  • Neglecting to increase the computed n for anticipated dropout or missing data, which reduces the achieved power below the target.
  • Confusing one-tailed and two-tailed specifications. A two-tailed test uses the larger critical value z_{α/2}, so it requires a bigger sample for the same power.
  • Running a power analysis after data collection ('post-hoc power') and treating the result as informative about the study. Power calculated from the observed effect is largely a restatement of the p-value and is generally discouraged.

Frequently asked questions

What is Cohen's h and why is the arcsine transformation used?

Cohen's h = 2 arcsin(√p₁) − 2 arcsin(√p₂) is an effect-size index that maps proportions onto a scale where the variance is approximately constant, regardless of the baseline proportion. This stabilisation is needed because the variance of a proportion (p(1−p)/n) changes with p, so a raw difference between proportions is a poor measure of effect magnitude.

What proportions should I plug in if I have no prior data?

The best source is published literature on the same population and outcome. If none exists, specify the smallest difference you would regard as clinically or practically meaningful, together with a plausible baseline proportion. Cohen's benchmarks (h = 0.20, 0.50, 0.80) can help frame a range of plausible effects, but they are not a substitute for a context-specific minimum meaningful difference.

Is 80% power always sufficient?

80% power is a common default, meaning you accept a 20% chance of missing a real effect. Where a false negative is costly, such as confirmatory trials or studies with serious safety implications, higher power such as 90% is often chosen, which increases the required sample size.

Can I use this for a single proportion instead of two?

Yes. For a one-sample comparison, the target proportion is compared with a reference proportion under the null hypothesis, and h is calculated from those two values. The closed-form expression in the mechanics section applies to this one-sample form. For two independent groups, the per-group sample size follows a different formula and should be taken from a two-group source.

Related methods

Sources

  1. Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum Associates.

    Open DOI reference