Suppose a report states that some outcome occurs twice as often in one group as in another. If the outcome went from 1 in 1000 people to 2 in 1000, that is one extra outcome per thousand people. If it went from 20 percent to 40 percent, it is two hundred extra outcomes per thousand. The ratio is the same and the consequences are not. This lesson builds the risk difference, the risk ratio and the odds ratio from one table, explains what each one measures and what a case-control study can estimate, and attaches a confidence interval to a ratio.
Key terms
Risk and baseline risk
Definition The risk of an outcome in a group is the probability that a member of the group has the outcome during a specified period, such as one year of follow-up. When people are each followed for the whole period and of them have the outcome, the sample proportion estimates the risk in the population those people represent. In a comparison of two groups, the baseline risk is the risk in the reference group, the one the other group is compared with, often an unexposed, untreated or usual-care group. Risks are comparable only when the outcome definition and the period are the same in both groups.
In plain words A risk counts outcomes out of everyone who could have had them, so its denominator is the whole group, including the people with the outcome. The baseline risk is the starting level that a relative comparison is measured against, and a reader needs it before a ratio says anything about numbers of people.
Example Two constructed groups of 100 people are followed over the same period with the same outcome definition. The counts are invented for teaching and say nothing about any real treatment.
| Group | Outcome | No outcome | Total |
|---|---|---|---|
| A | |||
| B |
The estimated risks are and . With B as the reference group, the estimated baseline risk is 0.10, or 10 percent.
Risk difference
Definition For a risk in group A and a risk in a reference group B, the risk difference is
estimated by . It lies between and , it equals exactly when the two risks are equal, and it is usually reported in percentage points. It is an absolute effect measure. Multiplied by 1000, it is the difference between the expected numbers of outcomes among 1000 people with risk and among 1000 people with risk . The word effect in that label names a comparison. It does not by itself mean that belonging to group A causes the difference.
In plain words The risk difference measures extra outcomes per person, and scaling it to 100 or 1000 people gives a count of extra expected outcomes. Percentage points and percent are different units. A rise from 10 percent to 20 percent adds 10 percentage points, and it is also a 100 percent increase over the starting risk, so a report of “an increase of 10 percent” leaves the reader guessing which one is meant.
Example In the table, , a difference of 10 percentage points. Among 1000 people at each risk the expected numbers of outcomes are 200 and 100, so the risks differ by 100 expected outcomes per 1000 people.
Risk ratio
Definition For a reference risk , the risk ratio of group A relative to group B is
estimated by when . It is a relative effect measure. It is never negative, it equals exactly when the two risks are equal, and the relative change from the baseline is . When , reversing the reference group replaces the ratio by . A known baseline turns a ratio back into risks, since and
Because a risk cannot exceed 1, a ratio can hold only at a baseline with .
In plain words A risk ratio says how many times as large one risk is as the other. It leaves out the baseline, so the same ratio can go with very different numbers of extra outcomes. Every ratio also needs a stated direction, saying which group is on top and which is the reference.
Example In the table, , and with A as the reference the ratio is . Now keep a ratio of 2 and change the baseline. From 1 percent it gives 2 percent, an increase of 1 percentage point, or 10 more expected outcomes per 1000 people. From 20 percent it gives 40 percent, an increase of 20 percentage points, or 200 more per 1000. From 60 percent a ratio of 2 is impossible, because it would need a risk of .
Odds and odds ratio
Definition For an outcome with probability , the odds of the outcome are
which can be any nonnegative number, and conversely . For risks and strictly between and , the odds ratio of group A relative to group B is
In a table with counts and in row A and and in row B, arranged as above, the estimate is when all four counts are positive. The two ratios are linked by
So if then , if then , and both equal when the risks are equal. The odds ratio is close to the risk ratio when both risks are small, and the two can be far apart for a common outcome.
In plain words Risk divides the number of outcomes by everyone in the group. Odds divide it by the people without the outcome. Odds of 3 mean three people with the outcome for every person without it, which is a risk of 3/4, not 300 percent. Whenever the risks differ, the odds ratio is farther from 1 than the risk ratio, so reading an odds ratio as a ratio of risks makes the relative difference look larger than it is.
Example In the table the odds are in group A and in group B, so
while the risk ratio is 2. Both numbers are correct, but the sentence that the risk is 2.25 times as high would be wrong. For risks of 0.02 and 0.01 the odds ratio is about 2.02, close to the risk ratio 2, because almost everyone falls in the no-outcome denominator.
Case-control study
Definition A case-control study selects people who have the outcome, the cases, and people who do not, the controls, and then compares their earlier exposure or group membership. The investigator decides how many cases and controls to include, so the fraction of cases in the sample is not an estimate of a population risk. Write , , and for the counts in the source population, arranged as in the table above, and suppose each case is selected with probability and each person without the outcome with probability , with selection unrelated to exposure among the people with the outcome and among those without it. The expected sampled counts are then , , and , and
So the cross-product of the sample estimates the odds ratio of the source population. The same cross-product is the odds of exposure among cases divided by the odds of exposure among controls, which is what the sample measures directly. Risks, risk differences and risk ratios cannot be recovered from the case-control table alone. They need outside information, such as the sampling fractions or the baseline risk in the source population.
In plain words A case-control study fixes the outcome first and looks back at exposure, so the rows of its table do not contain risks. The odds ratio survives because the sampling multipliers cancel. That cancellation is a property of the design, not a guarantee. If selection depends on exposure differently for cases and for controls, for example when exposed cases are easier to find, or if the controls do not represent the population that produced the cases, the estimate can be biased. When the outcome is rare in both groups of the source population, the odds ratio is close to the risk ratio, but that is an extra assumption about the population, not something the table shows. As in any observational study, an association found this way is not by itself a causal effect.
Example Treat the 200 people of the table as the whole source population, with 30 cases and 170 people without the outcome. An investigator keeps all 30 cases and draws a random fifth of the 170 as controls, and suppose the 34 controls drawn are 16 from group A and 18 from group B, exactly one fifth of each.
| Group | Cases | Controls |
|---|---|---|
| A | 20 | 16 |
| B | 10 | 18 |
The odds ratio is , the same as in the population. The case fraction in row A is , far from the risk , and the ratio of the two case fractions is , not the risk ratio .
Log-scale interval for a ratio
Definition A log-scale interval for a ratio is a confidence interval computed for the natural logarithm of the ratio and then mapped back with the exponential function. For independent binomial samples with outcomes among people and outcomes among people, where and , a common large-sample standard error is
and the approximate 95 percent interval for the risk ratio is
For the odds ratio, with all four counts positive, the standard error of is approximately , and the interval is built the same way. This odds ratio formula also applies to a case-control sample, with the cases and the controls treated as two independent samples. A zero outcome count, or for the odds ratio a zero in any cell, makes the formula undefined, and the estimate itself can then be or infinite. An exact, score-based or model-based method suited to the design should then be chosen and reported, rather than a constant added to the cells without comment.
In plain words Ratios live on a multiplicative scale, where 2 and 1/2 are equally far from 1. On the log scale they sit at equal distances on either side of 0, the sampling distribution of the estimate is usually closer to normal, and exponentiating keeps both endpoints positive. The resulting interval is not symmetric around the estimate, which is the geometric mean of the two endpoints. The 95 percent describes the procedure. Over repeated samples, intervals built this way capture the true ratio about 95 percent of the time, and coverage can fall short when counts are small. It is not a 95 percent probability that this particular interval contains the ratio.
Example In the table, and the standard error is . The interval is , from about to about . It is wide and contains , so these counts are compatible with equal risks as well as with a risk about four times as high. With B relative to A the interval is the reciprocals, about to . For the odds ratio the standard error is , and the interval runs from about to .
Check yourself
- A constructed report gives a baseline risk of 4 percent in a reference group and a risk ratio of 1.5 for a second group, with the same outcome and period. Find the risk in the second group, the risk difference in percentage points and the difference in expected outcomes per 1000 people. Does the ratio alone show that belonging to the second group causes the extra outcomes?
Show the answer
The second risk is , or 6 percent. The risk difference is 2 percentage points, and , so the two risks differ by 20 expected outcomes per 1000 people. That is a difference in expected counts, not a promise of exactly 20 extra outcomes in any particular group of 1000.
The ratio alone does not show causation. That needs a design such as random assignment, or a convincing argument that confounding and selection do not explain the difference, together with comparable outcome definitions and follow-up. A complete report would also give both risks and an interval for the comparison.
- Two constructed groups have risks of 0.60 and 0.40 over the same period. A summary says the outcome is 2.25 times as likely in the first group. Compute the risk ratio and the odds ratio, and explain what went wrong.
Show the answer
The risk ratio is . The odds are in the first group and in the second, so the odds ratio is . The summary reported the odds ratio as if it were a risk ratio. The outcome is common here, so the two differ a lot, and since the first risk is the larger one the odds ratio is the one farther from 1. The outcome is 1.5 times as likely, a difference of 20 percentage points.
The same odds ratio of 2.25 came from the risks 0.20 and 0.10 in the table above, where the risk ratio is 2. An odds ratio alone does not determine the risk ratio.
- A constructed case-control study selects 100 cases and 100 controls. Of the cases 40 were exposed, and of the controls 25 were exposed. Estimate the odds ratio with an approximate 95 percent log-scale interval. Can the risk of the outcome among exposed people be estimated as , the share of cases among the exposed people in the sample?
Show the answer
The table has 40 exposed and 60 unexposed cases, and 25 exposed and 75 unexposed controls. The odds ratio is
which is also the odds of exposure among cases, , divided by the odds of exposure among controls, . The standard error of its logarithm is , so the interval is , from about 1.09 to 3.66. This rests on the cases and the controls being independent random samples of the people with and without the outcome in one source population, with selection unrelated to exposure.
The share is not a risk. The investigator chose equal numbers of cases and controls. With 200 controls instead, 50 of them exposed in the same proportion, the exposed row would hold 40 cases and 50 controls, a case share of about 0.44, while the odds ratio would stay 2. The share reflects the design, not the population. Estimating risks needs outside information such as the baseline risk in the source population. If the outcome is rare there, the odds ratio also approximates the risk ratio, but that is an assumption the table cannot check.