Relationship between a numerical and a categorical variable

The previous page showed that the marginal relationship between two numerical variables, X and Y, can be very different from their conditional relationship for specific values of Z. The same can happen when X is a categorical variable.

If the existence of a lurking variable Z is not recognised, the relationship between Y and X may be misrepresented.


Weights of fur seals