A contingency table allows you to visualize the relationship between a categorical X variable and a categorical Y variable.
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 test of independence of row and column variables in a (J × K) contingency table is a widely used statistical test in many areas of application. For complex survey samples, use of the standard ...