Does McNemar's test compare the sensitivities and specificities of two diagnostic tests?

Stat Methods Med Res. 2017 Feb;26(1):142-154. doi: 10.1177/0962280214541852. Epub 2016 Sep 30.

Abstract

McNemar's test is often used in practice to compare the sensitivities and specificities for the evaluation of two diagnostic tests. For correct evaluation of accuracy, an intuitive recommendation is to test the diseased and the non-diseased groups separately so that the sensitivities can be compared among the diseased, and specificities can be compared among the healthy group of people. This paper provides a rigorous theoretical framework for this argument and study the validity of McNemar's test regardless of the conditional independence assumption. We derive McNemar's test statistic under the null hypothesis considering both assumptions of conditional independence and conditional dependence. We then perform power analyses to show how the result is affected by the amount of the conditional dependence under alternative hypothesis.

Keywords: McNemar’s test; conditional dependence; diagnostic test; sensitivity; specificity.

Publication types

  • Comparative Study

MeSH terms

  • Diagnostic Tests, Routine / standards*
  • Humans
  • Lung Transplantation
  • Pulmonary Aspergillosis / diagnosis
  • Research Design
  • Sensitivity and Specificity
  • Toxoplasmosis / diagnosis
  • Toxoplasmosis / parasitology