Conditional distribution

By Jude Wallis · Updated

A conditional distribution is the distribution of one variable within a single row or column of a two-way table, divided by that row or column total.

A conditional distribution is the distribution of one variable inside a single category of the other. Take one row of a two-way table, throw the rest of the table away, and divide each cell in that row by the row total. The proportions add to 1 within that group, and the re-dividing is the whole difference from a marginal distribution, which keeps the grand total underneath. A two-by-two table holds four conditional distributions, one for each row and one for each column.

Use the same 200 students the marginal distribution entry tabulates: of the 80 seniors, 45 drive to school and 35 do not, and of the 120 who are not seniors, 30 drive and 90 do not. Given senior, the conditional distribution of travel is 45/80=0.562545/80 = 0.5625 drives and 35/80=0.437535/80 = 0.4375 does not. Given not senior it is 30/120=0.2530/120 = 0.25 and 90/120=0.7590/120 = 0.75. Conditioning down a column instead starts from the 75 drivers: 45/75=0.6045/75 = 0.60 are seniors and 30/75=0.4030/75 = 0.40 are not.

"56.25 percent of seniors drive, so 56.25 percent of drivers are seniors." Those are two different conditional distributions resting on the same cell of 45. The first divides by the 80 seniors and the second by the 75 drivers, and the second answer is 0.60. With a nonzero cell the two agree only when the two groups are the same size. The words "among", "of the", and "given" point at the denominator, so name the group before dividing.

Comparing conditional distributions across rows is what exposes association, and 0.5625 against 0.25 is a wide gap that no margin could have shown. Were the variables unrelated, each row would reproduce the marginal distribution of travel, 0.375 and 0.625, and the senior-and-drives cell would hold 0.40×0.375×200=300.40 \times 0.375 \times 200 = 30 students instead of 45.

If those 200 are a sample from a larger population, a gap this size is evidence rather than proof, and testing it is the job of the chi-square test for homogeneity or independence, topic 3.14.

Where this comes up

More probability terms, or browse the full statistics glossary.