Test whether the marginal frequencies of a binary outcome change significantly between two related measurements.
The McNemar Test is the paired equivalent of the Chi-Square test for binary outcomes. It tests whether the proportion of people classified as 'positive' changes significantly from one time point to another (or between two related conditions). The test focuses only on the discordant pairs — cases that change from positive to negative or vice versa — because concordant pairs provide no information about change.
Common applications include testing whether a treatment changes the proportion of patients who are symptom-free (before vs. after), whether a training program changes the proportion of correct responses, or whether two raters classify the same cases differently.
McNemar's test compares two related proportions, for example the share of participants passing before and after a course. It uses only the discordant pairs — people who changed — and asks whether change in one direction (fail → pass) is more common than in the other (pass → fail). With few discordant pairs (under about 25), use the exact binomial version instead of the chi-square approximation.
| Post: Positive | Post: Negative | Total | |
|---|---|---|---|
| Pre: Positive | 28 | 14 | 42 |
| Pre: Negative | 4 | 34 | 38 |
| Total | 32 | 48 | 80 |
A McNemar test indicated a significant change in symptom-free status following treatment, χ²(1) = 8.45, p = .004. The proportion of symptom-free patients increased from 38% at baseline to 62% post-treatment.
Yes. You can run it without an account (3 free analyses), and a free account adds 10 more — a one-time allowance, no payment needed. Every result includes the APA 7 write-up. Paid plans (Student from $9/month) add more analyses and Word, PDF and Excel export.
Concordant pairs (same response at both time points) provide no evidence about change. Only cases that switched from one category to the other contribute information about whether change occurred.
Give the proportions at both time points, then χ²(1), N and p (or the exact p for small samples): "The proportion of symptom-free patients rose from 32% to 58%, χ²(1, N = 80) = 8.45, p = .004."
No. A chi-square test of independence assumes the two measurements come from different people. Before/after data from the same people are paired, and McNemar's test accounts for that pairing.
The odds ratio of the discordant pairs (b / c) is the usual effect size, alongside the difference between the two proportions with its confidence interval.
Run a McNemar Test on your data →