Skip to content
Prev 18316 / 63424 Next

Yates' correction for continuity in chisq.test (PR#8265)

dih69530 at syd.odn.ne.jp wrote:
(Presumably, you mean P-value = 1.)
If you don't want the correction, set correct=FALSE. (The
results won't differ much.)

A better example is

  chisq.test(matrix(c(9,10,9,10),2,2))

for which R probably should return X-squared = 0.

Peter Ehlers