Skip to main content icon/video/no-internet

It is often of interest to examine changes in the dichotomous categorical responses taken from subjects before and then after some treatment condition is imposed (i.e., evaluating repeated measurements of the same subjects using them as their own controls). In 1947, the psychologist Quinn McNemar developed a simple and valuable technique for comparing differences between the proportions in the responses before and after. McNemar's procedure is the categorical data counterpart of the t test for the mean difference in matched, paired, or related samples.

McNemar's procedure has enjoyed widespread usage in both behavioral and medical research and some attention in business, particularly with applications in advertising or marketing research, wherein it may be desirable to evaluate the significance of changes in attitudes and opinions.

Development

The dichotomous responses from a sample of n′ individuals over two periods of time may be tallied into a 2 × 2 table of cross-classifications as follows:

With respect to the population from which the aforementioned sample was taken, let pij be the probability of responses to the ith category before the treatment condition was imposed and the jth category after. The pairs of marginal probabilities before and after treatment sum to unity; that is, p1. + p2. = 1 and p.1 + p.2 = 1.

None

Table 1 2 × 2 Table of Cross-Classifications for a Sample of n′ Subjects

Testing for Significance of Changes in Related Proportions

In order to investigate changes in repeated dichotomous measurements, the null hypothesis is that of symmetry:

None

That is, the null hypothesis tested is conditioned on those n = x12 + x21 individuals whose responses change, where the probability (p21) of a switch to a more favorable position is equal to the probability (p12) of a switch to a less favorable position, and that this probability is 0.5.

Under the null hypothesis the random variable x12 is binomially distributed with parameters n and 0.5, as is the random variable x21. The expected value of each of these binomial distributions is 0.5n, and the variance for each is 0.25n. McNemar's procedure enables an exact test of the null hypothesis using the binomial probability distribution with parameters n and p = 0.5.

The McNemar test statistic M, written as Min[x12,x21], is defined as the minimum of the response tallies x12 or x21 in the cross-classification table.

For a two-tailed test, the null hypothesis can be rejected at the α level of significance if

None

For a one-tailed test, the null hypothesis may be rejected if

None

Using Microsoft Excel's BINOMDIST function, exact p values of the McNemar test are obtained for all n ≤ 1,000.

For studies where n > 1,000 a simple normal approximation formula for the test statistic M is given by

None

where Z = N(0,1), the standardized normal distribution. The decision rule for testing the null hypothesis (H0: pij = pji for ij) depends on whether the test is two-tailed or one-tailed. Based on its definition, M cannot exceed 0.5n, so the test statistic Z can be rejected only in the left tail of a standardized normal distribution. For a two-tailed test against the alternative H1: pijpji, the decision rule is to reject H0 if ZZα/2. For a one-tailed test, the decision rule is to reject H0 if ZZα.

...

  • Loading...
locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles

Sage Recommends

We found other relevant content for you on other Sage platforms.

Loading