Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Statistics›Cochran's Q Test
Hypothesis test

Cochran's Q Test

Also known as: Cochran Q Testi, Cochran's Q, Q test for related proportions

Cochran's Q test is a nonparametric hypothesis test introduced by William G. Cochran in 1950 for comparing proportions across three or more related binary measurements. It extends McNemar's test to the multiple-condition case and is the method of choice when every participant is observed under each condition and the outcome is recorded as a simple success/failure (1/0).

ScholarGate
  1. Hypothesis test
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Cochran Q Test
Chi-square testFriedman testMcNemar's testRepeated-measures ANOVAFisher's exact test

When to use it

Use Cochran's Q test when you have a block (repeated-measures or matched) design with three or more conditions and a binary outcome variable. Two assumptions must hold: the data must form a genuine block structure in which every participant provides an observation under every condition, and the outcome must be genuinely dichotomous (not collapsed from a continuous variable). The minimum recommended sample size is roughly 10 subjects. With only two conditions, McNemar's test is the appropriate choice. When the outcome is ordinal or continuous rather than binary, Friedman's test is the correct nonparametric alternative.

Strengths & limitations

Strengths
  • Makes no distributional assumptions about the underlying binary outcomes.
  • Naturally removes between-subject variability, increasing sensitivity to true condition effects.
  • Directly extends the familiar McNemar logic to the multi-condition case, keeping interpretation straightforward.
  • Widely available and recognised in social science, health, and educational research.
Limitations
  • Restricted to binary (0/1) outcomes — continuous, ordinal, or nominal outcomes with more than two categories require a different test.
  • Requires a complete block design; missing data in any condition for any subject complicate the analysis.
  • The chi-squared approximation may be unreliable when the number of subjects is small or when success rates are very close to 0 or 1.
  • A significant overall Q does not reveal which specific pairs of conditions differ; pairwise follow-up tests with multiplicity correction are needed.

Frequently asked

How is Cochran's Q different from McNemar's test?

McNemar's test compares proportions across exactly two related binary measurements. Cochran's Q is the extension to three or more conditions; with k = 2, the two tests yield identical results.

What should I do after a significant Q?

Conduct pairwise McNemar tests for every pair of conditions and apply a multiplicity correction — Bonferroni (divide α by the number of pairs) or the more powerful Holm step-down procedure — to control the family-wise error rate.

What if my outcome is not truly binary?

If the outcome is ordinal or continuous, use Friedman's test instead. Artificially collapsing a continuous variable into 0/1 to apply Cochran's Q discards information and is not recommended.

How large a sample do I need?

The chi-squared approximation generally holds adequately with at least 10 subjects. Very small samples or extreme success rates (near 0 % or 100 %) in any condition can make the approximation unreliable; an exact permutation version of the test is preferable in those cases.

Sources

  1. Cochran, W. G. (1950). The comparison of percentages in matched samples. Biometrika, 37(3–4), 256–266. DOI: 10.1093/biomet/37.3-4.256 ↗

How to cite this page

ScholarGate. (2026, June 1). Cochran's Q Test. ScholarGate. https://scholargate.app/en/statistics/cochran-q-test

Related methods

Chi-square testFriedman testMcNemar's testRepeated-measures ANOVA

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Chi-square testStatistics↔ compare
  • Friedman testStatistics↔ compare
  • McNemar's testStatistics↔ compare
  • Repeated-measures ANOVAStatistics↔ compare
Compare side by side →

Referenced by

Fisher's exact testMcNemar's test

Similar methods

McNemar's testFriedman testNemenyi TestChi-square testRepeated-measures ANOVAChi-square goodness-of-fit testRobust Friedman testBarnard's Exact Test

Related reference concepts

Chi-Squared and Fisher Exact TestsCategorical Data AnalysisMantel-Haenszel and Stratified AnalysisHeterogeneity in Meta-AnalysisHeterogeneity in Meta-AnalysisMultivariate Analysis of Variance

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Cochran Q Test (Cochran's Q Test). Retrieved 2026-07-21 from https://scholargate.app/en/statistics/cochran-q-test · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
William G. Cochran
Year
1950
Family
Hypothesis test
Type
Nonparametric proportions comparison
Groups
≥ 3 related conditions
Outcome
binary (0/1)
Parametric
No
Distribution
Chi-squared (approximate)
Df
k - 1
Related methods
Chi-square testFriedman testMcNemar's testRepeated-measures ANOVA
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account