chisq function

Pearson's chi-squared statistic for frequency comparisons (corpora)