The McNemar test for binary matched-pairs data: mid-p and asymptotic are better than exact conditional

被引:266
作者
Fagerland, Morten W. [1 ]
Lydersen, Stian [2 ]
Laake, Petter [3 ]
机构
[1] Oslo Univ Hosp, Unit Biostat & Epidemiol, Oslo, Norway
[2] Norwegian Univ Sci & Technol, Reg Ctr Child & Youth Mental Hlth & Child Welfare, N-7034 Trondheim, Norway
[3] Univ Oslo, Dept Biostat, Oslo, Norway
关键词
Matched pairs; Dependent proportions; Paired proportions; Quasi-exact; CONFIDENCE-INTERVALS; ASSOCIATION; PROPORTIONS;
D O I
10.1186/1471-2288-13-91
中图分类号
R19 [保健组织与事业(卫生事业管理)];
学科分类号
摘要
Background: Statistical methods that use the mid-p approach are useful tools to analyze categorical data, particularly for small and moderate sample sizes. Mid-p tests strike a balance between overly conservative exact methods and asymptotic methods that frequently violate the nominal level. Here, we examine a mid-p version of the McNemar exact conditional test for the analysis of paired binomial proportions. Methods: We compare the type I error rates and power of the mid-p test with those of the asymptotic McNemar test (with and without continuity correction), the McNemar exact conditional test, and an exact unconditional test using complete enumeration. We show how the mid-p test can be calculated using eight standard software packages, including Excel. Results: The mid-p test performs well compared with the asymptotic, asymptotic with continuity correction, and exact conditional tests, and almost as good as the vastly more complex exact unconditional test. Even though the mid-p test does not guarantee preservation of the significance level, it did not violate the nominal level in any of the 9595 scenarios considered in this article. It was almost as powerful as the asymptotic test. The exact conditional test and the asymptotic test with continuity correction did not perform well for any of the considered scenarios. Conclusions: The easy-to-calculate mid-p test is an excellent alternative to the complex exact unconditional test. Both can be recommended for use in any situation. We also recommend the asymptotic test if small but frequent violations of the nominal level is acceptable.
引用
收藏
页数:8
相关论文
共 18 条
[11]  
Hirji KF., 2006, EXACT ANAL DISCRETE
[12]   SIGNIFICANCE TESTS IN DISCRETE-DISTRIBUTIONS [J].
LANCASTER, H .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 1961, 56 (294) :223-&
[13]   A new exact and more powerful unconditional test of no treatment effect from binary matched pairs [J].
Lloyd, Chris J. .
BIOMETRICS, 2008, 64 (03) :716-723
[14]   Power comparison of two-sided exact tests for association in 2x2 contingency tables using standard, mid p, and randomized test versions [J].
Lydersen, S ;
Laake, P .
STATISTICS IN MEDICINE, 2003, 22 (24) :3859-3871
[15]   Recommended tests for association in 2 x 2 tables [J].
Lydersen, Stian ;
Fagerland, Morten W. ;
Laake, Petter .
STATISTICS IN MEDICINE, 2009, 28 (07) :1159-1175
[16]   NOTE ON THE SAMPLING ERROR OF THE DIFFERENCE BETWEEN CORRELATED PROPORTIONS OR PERCENTAGES [J].
McNemar, Quinn .
PSYCHOMETRIKA, 1947, 12 (02) :153-157
[17]   COMPARISON OF EXACT, MID-P, AND MANTEL-HAENSZEL CONFIDENCE-INTERVALS FOR THE COMMON ODDS RATIO ACROSS SEVERAL 2X2 CONTINGENCY-TABLES [J].
MEHTA, CR ;
WALSH, SJ .
AMERICAN STATISTICIAN, 1992, 46 (02) :146-150
[18]   THE 2X2 MATCHED-PAIRS TRIAL - EXACT UNCONDITIONAL DESIGN AND ANALYSIS [J].
SUISSA, S ;
SHUSTER, JJ .
BIOMETRICS, 1991, 47 (02) :361-372