Biology, images, analysis, design...
Use/Abuse Principles How To Related
"It has long been an axiom of mine that the little things are infinitely the most important" (Sherlock Holmes)

Search this site



chi square test - using R

Pearson's Chi-squared Test

Gives something like this:

Pearson's Chi-squared test with Yates' continuity correction data: tab1 X-squared = 2.7412, df = 1, p-value = 0.09779 > chisq.test(tab1, correct=TRUE,simulate.p.value = TRUE,B=10000) Pearson's Chi-squared test with simulated p-value (based on 10000 replicates) data: tab1 X-squared = 3.9474, df = NA, p-value = 0.09399