InfluentialPoints.com
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

 

 

Pearson's chi square goodness of fit test - using R

Pearson's chi square goodness of fit test (some pooling)

Gives something like this:

Chi-squared test for given probabilities data: x X-squared = 293.3333, df = 4, p-value < 2.2e-16 Warning message: Chi-squared approximation may be incorrect in: chisq.test(x, p = y/sum(x))