Advertisement
The problem with small numbers
See the Handbook for information on these topics.
Yates’ and William’s corrections in R
The following table lists the continuity corrections available for the Chisquare tests and Gtests discussed in this book.
Test 
Function 
Package 
Correction 
Option 
Default 
Notes 
Chisquare 
chisq.test

stats 
Yates 
correct=TRUE

TRUE 
2 x 2 table only 
G 
G.test

RVAide 
(none) 



G 
GTest

DescTools 
Yates
Williams 
correct=
correct= 
"none" 

See the Handbook for information on these topics.