Performing a Cochran’s Q test for the marginal homogeneity of three or more binary columns that are matched or related

Cochran’s Q test indicates whether the distribution of binary values appears to differ across three or more columns when the values in a particular row are related. For example, it can be used to assess whether voting patterns significantly differ in three or more elections, where each row represents an individual voter, and each cell takes one of two possible values. Cochran’s Q test is the multi-column equivalent of a McNemar test.

To perform Cochran’s Q test on three or more category columns:

  1. In the Summary view, use the confidence slider to choose a desired confidence level
  2. Command-click three or more category columns of interest on the left
  3. Check the box labeled Repeated measures below the summary picture
  4. The result of Cochran’s Q test will appear in the Bottom Line

Note that the test will only be performed if the selected columns take on the same set of (two) values, and have the same category labels, if any.

See also:


Back to Wizard Help