Chi-square tests for categorical data will reveal if there is an association between the variables in your contingency table. However, the test statistic will not tell you where dependencies exist within the cells of your table. People typically illustrate count data with bar charts, pie charts, and histograms. And those illustrations are great for a beginning-level course. The natural inclination is to show the percentages and quantities for each category. But I want you to imagine an graph that will tell you which levels show the greatest associations between the two variables- but with COLOR!
Mosiac graphs can be generated with R Code. Here is an example:
The associations are represented by the different colored boxes. If there is no association for that particular variable level the box stays grey. Pretty neat isn’t it?! If you would like to learn more please contact me for an appointment.
-Moore to Follow Amy