WARNING: 50% of the cells have expected counts less than 5. (Asymptotic) Chi-Square may not be a valid test.
The contingency table in Output 28.5.1 displays eye and hair color in the order in which they appear in the Color data set. The Pearson chi-square statistic in Output 28.5.2 provides evidence of an ...
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 ...