Reporting results

How to Report Cochran's Q Test in APA 7 (With Example)

Report Cochran's Q test for 3+ paired binary outcomes. Proportions, Q statistic, p value, and pairwise McNemar follow-ups with correction.

By , founder of KyroStat · Updated 29 Nov 2026

Every p value in this guide (2) was recomputed from its own statistic by our Results checker on 29 Nov 2026.

Cochran's Q test compares three or more related groups on a binary outcome, such as pain present or absent at multiple timepoints from the same people. It is the generalization of McNemar's test from two timepoints to three or more. After a significant Cochran's Q, pairwise McNemar tests with a multiple-comparison correction tell you which pairs differ. The APA 7 write-up reports the proportions at each timepoint, the Q statistic, and then the follow-up McNemar results. This guide shows the APA 7 format, a worked example, and the mistakes reviewers catch.

What you need before you write a single word

  1. A table of proportions with the outcome (present/absent) at each timepoint, with the total n.
  2. Cochran's Q statistic, degrees of freedom (number of timepoints minus 1) and the exact p value.
  3. Pairwise McNemar tests comparing each pair of timepoints, each with its own χ² (or exact p) and adjusted p value (Bonferroni or Holm correction).
  4. The number of discordant pairs (people who changed) in each pairwise comparison.

The APA 7 format template

The proportion of [participants] with [outcome] [changed] across [timepoints]. Before [condition] it was X%, [after] Y%, and [later] Z%. Cochran's Q test showed that this change was statistically significant, Q([df]) = X.XX, p = .XXX. Pairwise McNemar tests with a Bonferroni correction ([number] comparisons) indicated that the proportion increased significantly from [timepoint 1] to [timepoint 2], χ²(1, N = [n]) = X.XX, p = .XXX, but not from [timepoint 2] to [timepoint 3], χ²(1, N = [n]) = X.XX, p = .XXX.

Building the table for this? Eight APA 7 tables in Word, formatted and ready to fill, are in the Rescue Vault, $27 for guide readers (usually $47) →

Want to see it written from data? Run this test on sample data in KyroStat: free, no file needed, and it does not use your free tests.

Formatting rules reviewers check:

  • Report proportions (percentages or counts out of N) at each timepoint, not odds or means.
  • Italicize Q, p, N and n. Greek letters (χ², α) stay upright.
  • No leading zero on p: p = .008, not p = 0.008.
  • State the correction method for the pairwise McNemar tests: Bonferroni or Holm.
  • Report all pairwise comparisons, significant and non-significant.

A worked example

Fifty patients received pain relief treatment. Their pain status (absent or present) was assessed before treatment, at one week, and at four weeks.

TimepointnPain absentProportion
Before5011.22
1 week5046.92
4 weeks5049.98

Cochran's Q test was significant: Q(2) = 68.67, p < .001.

Pairwise McNemar tests with Bonferroni correction (3 comparisons):

ComparisonChangedMcNemar χ²p (adjusted)
Before vs 1 week3535.00< .001
Before vs 4 weeks3838.00< .001
1 week vs 4 weeks5exact1.000

Write it:

The proportion of patients with pain relief increased from 22% before treatment to 92% at 1 week and 98% at 4 weeks. Cochran's Q test confirmed that this change was statistically significant, Q(2) = 68.67, p < .001. Pairwise McNemar tests with a Bonferroni correction (3 comparisons) indicated that the proportion increased significantly from before to 1 week, 35 of 35 patients who changed improved, McNemar χ²(1, N = 50) = 35.00, p < .001, and from before to 4 weeks, 38 of 38 who changed improved, χ²(1, N = 50) = 38.00, p < .001. From 1 week to 4 weeks, 5 patients showed change (4 improved, 1 worsened), which was not significant, exact binomial p = 1.000 after Bonferroni correction (unadjusted p = .375).

The write-up covers all three pairwise comparisons and reports how many people changed in each pair.

Understanding Cochran's Q numbers

Cochran's Q is a test statistic like chi-square, distributed with degrees of freedom equal to the number of timepoints minus 1. Each pairwise McNemar test follows the same logic as a McNemar test with two timepoints:

  • People who changed are the only ones carrying information.
  • Counts are discordant pairs: improved (0 to 1) versus worsened (1 to 0).
  • In the example, Before vs 1 week: 35 improved and 0 worsened; Before vs 4 weeks: 38 improved and 0 worsened; 1 week vs 4 weeks: 4 improved and 1 worsened.

The χ² for McNemar (without continuity correction) is computed from the discordant counts. When one direction dominates (as in the first two comparisons), p is very small.

The multiple-comparison correction

After Cochran's Q, you have multiple pairwise comparisons. Control the family-wise error rate by correcting the p values:

  • Bonferroni: each p is multiplied by the number of comparisons. Here, 3 comparisons: p × 3.
  • Holm: p values are ordered, and adjusted sequentially: the smallest is multiplied by 3, the next by 2, the largest by 1.

Holm is less conservative than Bonferroni while still controlling the family-wise error rate.

Cochran's Q in a table

For many timepoints or a complex study, a table of proportions with the Q result makes the pattern clear:

Table 1

Pain Relief Across Three Treatment Timepoints

TimepointNPain absentProportion
Before treatment5011.22
1 week5046.92
4 weeks5049.98

Note. Cochran's Q(2) = 68.67, p < .001. Pairwise McNemar tests with Bonferroni correction showed significant improvement from before to 1 week (p < .001) and from before to 4 weeks (p < .001), but not from 1 week to 4 weeks (p = 1.000).

Mistakes reviewers catch

  • Reporting means and standard deviations. Cochran's Q tests binary outcomes, not continuous ones. Report proportions or counts.
  • Stopping at Cochran's Q without pairwise comparisons. A significant Q says the proportions are not all equal; run McNemar tests to say which pairs differ.
  • Unadjusted McNemar p values. Report the p values after the Bonferroni or Holm correction, not raw values.
  • Using Cochran's Q on continuous data. This test is for binary (yes/no, present/absent) outcomes only.
  • Not reporting all pairwise comparisons. Report all pairs so the reader sees the full picture.
  • No direction. Always say which timepoint had a higher proportion: "pain relief improved from 22% to 98%".
  • Using Cochran's Q on independent groups. This test is for repeated measures (same people at multiple timepoints). For independent groups, use the chi-square test of independence.

Let KyroStat do the write-up for you

KyroStat checks that your outcome is binary at each timepoint, runs Cochran's Q test, then pairwise McNemar tests with your choice of correction (Bonferroni, Holm, or others). It reports the proportions, the Q statistic, each pair's McNemar χ², and adjusted p values, all formatted in APA 7.

Frequently asked questions

What if fewer than 25 people changed in a McNemar pair? Use the exact binomial p instead of the χ² test, and report it: "The exact binomial p = .002". See how to report McNemar's test.

What about Bonferroni versus Holm? Holm's correction is less conservative (more powerful) while still controlling the family-wise error rate, so it is usually preferred. Use Bonferroni if your journal tradition requires it.

Can I use other corrections: FDR, Benjamini-Hochberg? Yes. FDR (false discovery rate) is less conservative than Bonferroni or Holm. Report whichever you use and name it.

What effect size should I report? Cochran's Q does not come with a standard effect size. Report the proportions at each timepoint (they are themselves the effect), or the odds ratio between pairs if comparing two specific timepoints.

Where are these numbers in SPSS? Analyze > Nonparametric Tests > Related Samples. Click Run to get Cochran's Q. Then run Pairwise Comparisons (newer SPSS): each row is a pair with the test statistic and adjusted p.

What about R? Use cochran_qtest() from the rstatix package for the omnibus test, then pairwise_mcnemar_test() for adjusted pairwise comparisons.

Related guides

Your data in. Your Results out.

Create a free account and run your first analysis in minutes. No install, no statistics course.