A two-way table is a structured way to organise data for two categorical variables at the same time. It helps you count combinations, compare groups, and calculate probabilities by making row totals, column totals, and the grand total explicit. The key skill is identifying the correct denominator: use the overall total for an unrestricted selection, and a row or column total when the selection is restricted to a subgroup.
when the person or object is chosen from the whole data set.
where is the given condition.
| Type of information | What it describes | Numerator | Denominator |
|---|---|---|---|
| Joint probability | Two categories at once | One interior cell | Grand total if selection is from all data |
| Marginal probability | One category regardless of the other | Row total or column total | Grand total |
| Conditional probability | One category given another | Relevant interior cell | Total of the given row or column |