Skip to content
Prev 367278 / 398503 Next

[FORGED] Yates correction

On 21/02/17 23:47, Jomy Jose wrote:
(a) With a p-value of 0.7477 there is no evidence against the null 
hypothesis no matter how you slice it.

(b) To assuage your trepidations, use "simulate.p.value=TRUE".

E.g.

    chisq.test(M,simulate.p.value=TRUE,B=9999)

Note that the value of X-squared that is returned is "of course" the 
same as what you'd get by setting correct=FALSE. I got a p-value of 
0.7178; you will get something slightly different, since a simulated 
p-value is random, but it will be about 0.71 or 0.72.

Bottom line:  Don't reject H_0!!!

cheers,

Rolf Turner