A statistical test that allows one to determine whether observed quantities of a specific characteristic differed from the expected value purely by chance.
R is the perfect language for creating a variety of chi-square tests, which are used to perform statistical analyses of counts of data. Here's how, with some sample code. A chi-square test (also ...
The chi-square test, likelihood ratio test, and other goodness of fit tests in a family are shown to have monotonic power functions, and hence are unbiased, for testing a simple hypothesis that all ...