Skip to main content

McNemar test on paired proportions

The McNemar test is a test on a 2x2 classification table when the two classification factors are dependent, or when you want to test the difference between paired proportions, e.g. in studies in which patients serve as their own control, or in studies with "before and after" design. See MedCalc manual: McNemar test.

 

 PositiveNegative
Positive
Negative

Results

The program gives the difference between the proportions (expressed as a percentage) with 95% confidence interval. When the (two-sided) P-value is less than the conventional 0.05, the conclusion is that there is a significant difference between the two proportions.

Start using MedCalc on your desktop today

Join thousands of researchers who trust MedCalc for precision and speed. Get started for as little as per year, or choose our popular lifetime license for and never worry about renewals again. Order information

Computational notes

The two-sided P-value is based on the cumulative binomial distribution.

The 95% confidence interval is calculated according to Sheskin, 2011.

Literature

  • Altman DG (1991) Practical statistics for medical research. London: Chapman and Hall.
  • Sheskin DJ (2011) Handbook of parametric and non-parametric statistical procedures. 5th ed. Boca Raton: Chapman & Hall /CRC.

How to cite this page

  • MedCalc Software Ltd. McNemar test on paired proportions. https://www.medcalc.org/en/calc/mcnemar.php (Version 23.6.1; accessed June 14, 2026)

Other free statistical calculators

See also