Mosaic Plots: Reading Joint and Conditional Categorical Frequencies
A mosaic plot turns a contingency table into nested rectangles. For two categorical variables, first divide the horizontal extent according to the marginal proportions of one variable.
Then split each resulting column vertically according to the conditional proportions of the second variable within that column. The area of a tile represents the joint proportion or count, provided the plot uses a common total-area scale.
To compare groups, inspect the heights of corresponding segments within columns: these are conditional proportions of the vertical category given the horizontal category.
If the segment compositions are similar across columns, the variables may be close to independent in the displayed sample. If the compositions differ, the plot suggests association.
Widths alone show how common the horizontal categories are; they do not tell you a conditional success rate without considering the height.
A mosaic plot summarizes observed categorical counts. Sparse cells, category ordering, and unequal group sizes can affect visual interpretation, so pair the plot with the contingency table or uncertainty analysis when decisions depend on the result. Most importantly, a visible association is not proof of causation: confounding, selection, and study design remain relevant.
In one mosaic-plot column, a group contains 30 observations and 18 are in the Yes category. What conditional proportion should the Yes segment height represent within that column?
A two-way mosaic plot has columns for three groups. The vertical category segments have noticeably different relative heights across the columns. What is the most appropriate conclusion from the plot alone?