# Performing a McNemar test for the marginal homogeneity of two category columns that are matched or related

A McNemar test indicates whether the distribution of values appears to differ across two category columns when the values in a particular row are related. For example, it can be used to assess whether voting patterns significantly differ from one year to the next, where each row represents an individual voter.

To perform a McNemar test on two category columns:

1. In the Summary view, use the confidence slider to choose a desired confidence level
2. Command-click two or more category columns of interest on the left
3. Check the box labeled Repeated measures below the summary picture
4. The result of the McNemar 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 values, and have the same category labels (if any). If the columns take 3 or more values, the result is known as a Stuart-Maxwell test.

See also:

- Performing a Cochran’s Q test for the marginal homogeneity of three or more binary columns that are matched or related
- Performing a chi-square test of a category column’s independence from another category column
- Performing a chi-square test of two or more category columns’ distributions
- Assigning labels to the values of a category column
- Formatting descriptive and inferential statistics
- About the Summary view

Back to Wizard Help