The same information as the Venn diagram can be arranged in a 2×22\times 2 table, where the row and column sums automatically give the marginal probabilities:

AAA\overline{A}Total
BByyzzP(B)=y+z\mathbf{P(B)=y+z}
B\overline{B}xxttP(B)=x+t\mathbf{P(\overline{B})=x+t}
TotalP(A)=x+y\mathbf{P(A)=x+y}P(A)=z+t\mathbf{P(\overline{A})=z+t}1\mathbf{1}
  • The four inner cells are the joint probabilities P(AB)P(A\cap B), P(AB)P(\overline{A}\cap B), P(AB)P(A\cap\overline{B}), P(AB)P(\overline{A}\cap\overline{B}).
  • The row and column totals are the marginal probabilities.
  • The overall sum is always 11.

Observation

The contingency table is particularly handy when we know percentages of the type “who has characteristic AA among those who have BB” (that is, a conditional probability): it is enough to fill in one cell per row and obtain the others through the sums.

Topics: Probability
Concepts: Conditional probability · Joint probability · Marginal probability · Contingency table
Methods: Contingency table
Skills: Probability calculation