R Chi-Square Test – Continuity Correction for Pearson and McNemar’s Chi-Square Test

chi-squared-testryates-correction

I think this is a rather basic question, but I just realize that I don't quite understand the term continuity correction.

I use R and found the same syntax correct=TRUE for both chisq.test and mcnemar.test. Are they referring to different continuity correction method?

I have heard of the yate's continuity for pearson chi-square test is not very popular now as it may "over-adjust" the result, then how about that for McNemar's chi-square test?

Thanks.

Best Answer

Another reason that continuity corrections for contingency tables have gone out of fashion is that they only make a noticeable difference when the cell counts are small, and modern computing power has made it feasible to calculate 'exact' p-values for such tables.

Exact tests for 2×2 tables for R are provided by the exact2x2 package written by Michael Fay. There's an accompanying vignette about the exact McNemar's test and matching confidence intervals.

Related Question