48 Granny Smith and 48 Fuji apples are assessed for bruising

Use this diagram to further explain the difference between marginal and conditional proportions.

The height & width of each rectangular block corresponds to a marginal and a conditional proportion. Click on any block to display these. The area of any rectangle is the joint proportion.

height * width   =   P(X) * P(Y given X)   =   P(Y) * P(X given Y)

Choose Group by Bruising to show the other marginal and conditional proportions.

You could mention that

Observe also that

Artificial data