Created
April 15, 2015 13:07
-
-
Save aaroncharlton/72bc1b5a52b483a5eaab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# chi-squared test | |
chisq.test(tbl) # Yate's continuity correction is the default | |
chisq.test(tbl, correct=FALSE) # no Yate's continuity correction | |
fisher.test(tbl) # fisher's exact test for count data | |
chisq.test(tbl, simulate.p.value=T, B=999) # Markov chain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment