Spliting into groups

If the variables cannot be classified as a response and explanatory variable, groups can be defined from either of the two variables.

In the context of a contingency table, the conditional proportions are found by dividing each frequency in the table by its row (or column) total. This scales each row (or column) of the table to sum to 1.0.

Rank and age in a university

Graphical displays of conditional distributions

The conditional distributions are best displayed in clustered 2-dimensional bar charts. Different variations make it easier to assess different aspects of the relationships between the variables.

Conditional probabilities
Conditional probabilities for X given Y or for Y given X
Clustering of bars
They can be grouped into clusters by X or by Y

Rank and age