McNemar Test

Author:

Abstract
The McNemar test is used for hypothesis testing with paired dichotomous data. The test involves only the off‐diagonal elements and results in a 1 degree of freedom χ 2 test. The dependence on only the discordant means that sample size estimation must rely on assumptions about the proportion of discordant observations. It can be shown that this test is equivalent to a paired t‐test under the assumption of equal means.