Introduction
A qualitative (categorical) variable is described by counting how many observations fall into each category. The raw counts are absolute values; to compare groups of different size they are turned into relative values: extensive, intensive and ratio indicators.
Absolute values and frequency tables
- Frequency = the number of observations in a category (for example 52 male and 48 female patients).
- A frequency table lists each category with its count, its percentage and, for ordered categories, the cumulative percentage.
- Absolute numbers alone cannot compare groups of different size: 30 cases in a town of 10 000 and in a city of 300 000 mean very different things.
Relative values
| Indicator | What it shows | Formula | Example |
|---|---|---|---|
| Extensive (structure) | The share of a part in the whole | part / whole × 100 (%) | Cancer = 25% of all deaths |
| Intensive (frequency, rate) | How often an event occurs in the population where it happens | events / population at risk × base | Incidence 35 per 100 000 a year |
| Ratio (correlation coefficient) | Relation between two different, independent groups | A / B (× base) | 42 doctors per 10 000 people |
- The base (100, 1000, 10 000, 100 000) is chosen so that the result is a convenient number: the rarer the event, the larger the base.
- Classic trap: an extensive indicator shows structure, not frequency. If the share of deaths from cancer rises, cancer mortality may still be stable (other causes may simply have fallen). To judge frequency, use an intensive indicator.
- Proportion = A / (A + B); ratio = A / B. With 10 men and 20 women: proportion of men 0.33 (33%), ratio of men to women 0.5.
- Pictures: a pie chart or a 100% stacked bar for extensive values, a bar chart for intensive values.
Three kinds of relative values: Extensive values show structure, intensive values show frequency in a population, and ratio values relate two different groups.
Measures of disease frequency
- Incidence rate = new cases in a period / population at risk × base. It measures the risk of falling ill.
- Prevalence = all existing cases (new and old) at a point or during a period / population × base. It measures the burden of disease.
- Prevalence ≈ incidence × average duration of the disease: chronic diseases (arthritis, diabetes) have a prevalence much higher than their incidence.
Comparing exposed and unexposed groups
| Measure | Formula | Meaning |
|---|---|---|
| Attributable risk (risk difference) | Incidence in exposed − incidence in unexposed | Extra cases caused by the exposure in the exposed group |
| Attributable fraction (etiological fraction) | (Ie − Iu) / Ie × 100 | Share of the exposed group's cases that removing the exposure would prevent |
| Population attributable risk | Incidence in whole population − incidence in unexposed | Extra cases in the whole population due to the exposure (public health impact) |
| Relative risk (RR) | Ie / Iu (cohort study) | How many times more likely the exposed are to fall ill |
| Odds ratio (OR) | (a × d) / (b × c) (case-control study) | Estimate of RR when incidence cannot be measured |
RR or OR = 1: no association; above 1: the exposure is a risk factor; below 1: the exposure is protective.
One 2 × 2 table, read two ways: A cohort study compares risk across the rows (relative risk); a case-control study compares exposure down the columns (odds ratio).
Worked example: 1000 smokers, 30 develop disease X (Ie = 30 per 1000); 1000 non-smokers, 10 develop it (Iu = 10 per 1000). RR = 30 / 10 = 3. Attributable risk = 20 per 1000. Attributable fraction = 20 / 30 = 67%: two thirds of the smokers' cases are due to smoking.
High-yield points
- Extensive = structure (%), intensive = frequency (per population), ratio = two different groups.
- Never judge frequency from an extensive indicator.
- Incidence = new cases (risk); prevalence = all cases (burden).
- RR comes from cohort studies, OR from case-control studies; 1 means no association.
Memory aid
Extensive asks "what share?", intensive asks "how often?", ratio asks "how many per?": cancer's share of deaths, cases per 100 000, doctors per 10 000.