Tutorials › Statistical Genetics › Risk-Scale Interaction Under Case-Control Sampling

Gene–Environment Interaction · Tutorial 801 of 989

Risk-Scale Interaction Under Case-Control Sampling

Learn why case-control odds contrasts do not by themselves give population risks, and how prevalence calibration or sampling weights can support additive interaction estimates.

Advanced 11 min read

What You'll Learn

  • Explain why the sampled case fraction is not the population disease prevalence
  • Distinguish odds ratios from risk ratios and risk differences
  • Convert odds ratios to risks when a compatible baseline risk is available
  • Calibrate a risk model using external prevalence and a target covariate distribution
  • Use inverse-probability weights to recover population risks under stated sampling assumptions
  • Interpret additive interaction estimates without making unsupported causal claims

Why Case-Control Sampling Changes the Risk Scale

A case-control study deliberately selects people according to their disease status. It can therefore provide useful information about how genotype and exposure relate to disease odds, but the fraction of sampled participants who are cases is set by the sampling design. That fraction is not, in general, the disease prevalence in the source population. This distinction matters for gene–environment interaction on the risk scale: an additive interaction contrast is built from population risks, not from the case fraction in the study.

Let \(D\) indicate disease, with \(D=1\) for a case and \(D=0\) for a control. Let \(G\) and \(E\) be binary genotype and exposure indicators, respectively, where 0 denotes the reference category. Write \(r_{ge}=P(D=1\mid G=g,E=e)\) for the source-population disease risk in cell \((g,e)\). The additive interaction contrast compares how the risk difference associated with one factor changes across levels of the other.

Definition: The risk-scale additive interaction contrast is \(r_{11}-r_{10}-r_{01}+r_{00}\). It is the difference between the risk difference for \(G\) when \(E=1\) and the risk difference for \(G\) when \(E=0\). A positive value means the joint risk exceeds the sum of the two separate risk increments above \(r_{00}\); a negative value means it is below that sum.

The contrast is an absolute difference in probabilities, so its units are risk points (or percentage points). A relative version is the relative excess risk due to interaction, or RERI:

$$ \mathrm{RERI} = \frac{r_{11}}{r_{00}} -\frac{r_{10}}{r_{00}} -\frac{r_{01}}{r_{00}}+1 $$

When \(r_{00}>0\), the additive contrast equals \(r_{00}\times\mathrm{RERI}\). These measures describe interaction on the risk scale. Interpreting them causally requires additional assumptions about confounding, selection, consistency, and the meaning of the exposure and genotype contrasts; a case-control design alone does not establish those assumptions.

What the Case-Control Sample Identifies

Suppose the probability of being sampled is \(\pi_1\) for a case and \(\pi_0\) for a control, with sampling otherwise independent of \(G\) and \(E\) within disease status. For a particular genotype-exposure cell, the odds of disease in the sample are:

$$ \frac{P(D=1\mid G,E,S=1)}{P(D=0\mid G,E,S=1)} = \frac{\pi_1}{\pi_0} \frac{P(D=1\mid G,E)}{P(D=0\mid G,E)} $$

Here \(S=1\) means the person was sampled. The sampling factor \(\pi_1/\pi_0\) multiplies the population disease odds. Consequently, the case fraction and fitted intercept from an unweighted case-control sample generally do not represent population prevalence or population baseline risk. But the sampling factor is the same across cells under the stated design, so odds ratios comparing cells can still be identified. This is the basis for standard logistic regression analysis of case-control data when selection depends on disease status alone.

An odds ratio is not generally a risk ratio. Even if the cell-specific odds ratios are known, risks cannot be recovered from them without a baseline risk or other population information. If a compatible baseline risk is known, the conversion is:

$$ r_{ge} = \frac{\mathrm{OR}_{ge}\,r_{00}} {1-r_{00}+\mathrm{OR}_{ge}\,r_{00}} $$

This formula is exact for the odds ratio comparing cell \((g,e)\) with the reference cell, provided both risks refer to the same target population and conditioning or standardization scheme. Replacing an odds ratio by a risk ratio is only an approximation when disease is sufficiently rare; it is not an automatic consequence of using logistic regression.

Worked Example: What the Sample Odds Ratios Do—and Do Not—Show

Consider hypothetical case-control data with the following counts. The numbers of cases and controls were fixed by the sampling design.

Genotype and exposure cellCasesControls
\(G=0,E=0\)20100
\(G=1,E=0\)30100
\(G=0,E=1\)25100
\(G=1,E=1\)60100

The case-control odds in the reference cell are \(20/100=0.20\). The odds ratio for \(G=1,E=0\), relative to the reference cell, is:

$$ \mathrm{OR}_{10} = \frac{30/100}{20/100} = 1.50 $$

Likewise, \(\mathrm{OR}_{01}=(25/100)/(20/100)=1.25\), and \(\mathrm{OR}_{11}=(60/100)/(20/100)=3.00\). These are sample odds ratios that estimate the corresponding population odds ratios under the sampling assumptions above. But \(20/(20+100)=0.167\) is not an estimate of \(r_{00}\) merely because it is the case fraction in that cell: the numbers of cases and controls were selected, not observed in their natural population proportions. The table alone therefore does not identify the four population risks or their additive interaction contrast.

Recovering Risks With a Baseline Risk

If a reliable source supplies the population risk \(r_{00}\) for the same reference cell and target population, the cell odds ratios can be converted to risks one cell at a time. The resulting additive contrast is interpretable in risk points. The baseline risk must match the target setting: a risk from a different population, time period, disease definition, or covariate stratum may produce a misleading conversion.

Worked Example: Converting Odds Ratios to an Additive Contrast

Use the odds ratios from the preceding hypothetical table and suppose an external source establishes that the reference-cell risk is \(r_{00}=0.020\) in the target population. This is a cell-specific risk, not the overall disease prevalence. For the \(G=1,E=0\) cell:

$$ r_{10} = \frac{1.50(0.020)} {1-0.020+1.50(0.020)} = \frac{0.030}{1.010} = 0.02970 $$

For \(G=0,E=1\) and \(G=1,E=1\), the corresponding calculations are:

$$ r_{01} = \frac{1.25(0.020)} {0.980+1.25(0.020)} = \frac{0.025}{1.005} = 0.02488 $$
$$ r_{11} = \frac{3.00(0.020)} {0.980+3.00(0.020)} = \frac{0.060}{1.040} = 0.05769 $$

The additive interaction contrast is therefore:

$$ 0.05769-0.02970-0.02488+0.02000 = 0.02311 $$

Under these assumptions, the joint cell's risk exceeds the additive prediction based on the two separate risk increments by about 0.0231, or 2.31 percentage points. The corresponding RERI is \(0.02311/0.02000=1.156\). This calculation does not show that the factors causally interact; that interpretation would require the additional causal assumptions stated earlier.

Calibrating a Risk Model With External Prevalence

Often the external information is overall disease prevalence rather than a reference-cell risk. Prevalence can calibrate the intercept of a risk model if the model's relative effects are estimated from the case-control data and the target-population distribution of predictors is available. For example, let \(X_i\) denote the predictors for a person in the target population, and let \(\eta_i\) be the model's linear predictor excluding its intercept. A logistic risk model has \(P(D_i=1\mid X_i)=\operatorname{expit}(\alpha+\eta_i)\), where \(\operatorname{expit}(u)=1/(1+\exp(-u))\). Choose \(\alpha\) so that the model's average risk over the target distribution equals the external prevalence \(K\):

$$ \frac{1}{N}\sum_{i=1}^{N} \operatorname{expit}(\alpha+\eta_i)=K $$

The sum can represent a target-population dataset or be replaced by a weighted average over covariate patterns. This equation usually needs to be solved numerically. It requires the external prevalence and a suitable target distribution of predictors; prevalence by itself does not reveal how risk is distributed across genotype and exposure cells. Once calibrated, risks for specified cells can be predicted and, if appropriate, averaged over other covariates to define standardized cell risks.

Worked Example: Matching a Model to External Prevalence

Suppose a hypothetical case-control analysis estimates cell odds ratios of 1.00, 1.50, 1.25, and 3.00 for cells \(00,10,01,11\). An external source gives overall disease prevalence \(K=0.040\), and the target-population cell proportions are 0.60, 0.15, 0.15, and 0.10, respectively. In this simple model, let \(x\) be the calibrated risk in cell \(00\). Each other risk follows the odds-ratio conversion, so the calibration condition is:

$$ 0.60x+ 0.15\frac{1.50x}{1-x+1.50x} + 0.15\frac{1.25x}{1-x+1.25x} + 0.10\frac{3.00x}{1-x+3.00x} = 0.040 $$

Solving gives approximately \(x=0.0310\). Substitution gives \(r_{10}=0.04579\), \(r_{01}=0.03845\), and \(r_{11}=0.08757\). Checking the calibration:

$$ 0.60(0.0310)+0.15(0.04579)+0.15(0.03845)+0.10(0.08757) \approx 0.0400 $$

The resulting additive contrast is \(0.08757-0.04579-0.03845+0.0310=0.03433\), or 3.43 percentage points. The calculation depends on the stated cell proportions and on the model being suitable for the target population. A different target distribution can give different marginal risks and a different standardized interaction contrast even when the fitted conditional odds ratios are unchanged.

Recovering Risks With Sampling Weights

A second route is to use known sampling probabilities. If each person in the source population has known inclusion probability \(\pi_i\), an inverse-probability weight is \(w_i=1/\pi_i\). Weighting sampled individuals by \(w_i\) makes their contribution represent the number of source-population individuals they stand for. For a conventional case-control design, the weights may be \(1/\pi_1\) for cases and \(1/\pi_0\) for controls. A weighted risk model can then target population risks, provided the sampling probabilities are correct, selection is independent of predictors within the strata used to define those probabilities, and the model and target population are appropriately specified. The design must also give positive inclusion probability to the relevant groups.

If inclusion probabilities are unknown, weights cannot be inferred just from the case and control counts without further information. Known population sampling fractions, external prevalence, or other valid design information may supply what is needed. Standard errors must reflect the sampling design and weight estimation; treating weighted pseudo-counts as an ordinary unweighted sample can understate uncertainty.

Worked Example: Reconstructing Cell Risks With Known Sampling Fractions

Suppose a hypothetical source population has 1,000 people in each genotype-exposure cell. Cases are sampled with probability \(\pi_1=0.80\), and controls with probability \(\pi_0=0.10\), independently within disease status. The case-control sample has the following counts:

CellSampled casesSampled controls
\(00\)1698
\(10\)2497
\(01\)2097.5
\(11\)4894

The fractional control count represents a weighted or expected-count illustration. The case weight is \(1/0.80=1.25\), and the control weight is \(1/0.10=10\). In cell \(00\), the weighted case and control totals are \(16(1.25)=20\) and \(98(10)=980\), giving estimated risk \(20/(20+980)=0.020\). Applying the same calculation to the other cells gives:

$$ r_{10}=\frac{24(1.25)}{24(1.25)+97(10)}=0.030, \qquad r_{01}=\frac{20(1.25)}{20(1.25)+97.5(10)}=0.025 $$
$$ r_{11}=\frac{48(1.25)}{48(1.25)+94(10)}=0.060 $$

Thus the weighted additive contrast is \(0.060-0.030-0.025+0.020=0.025\), or 2.50 percentage points. These reconstructed risks are meaningful only because the inclusion probabilities and within-cell sampling assumptions were specified. In an applied analysis, estimated risks and their uncertainty would ordinarily come from a weighted model or design-based procedure rather than from treating these illustrative weighted totals as raw observations.

Interpretation and Common Pitfalls

Risk-scale interaction is useful because it expresses departure from additivity in absolute disease probability, a scale that can help communicate excess risk. In a genetic epidemiology study, however, the numerical result depends on the population and its disease prevalence. The same odds ratios can imply different risk contrasts in populations with different baseline risks or genotype-exposure distributions. A report should therefore state the target population, how risks were obtained, and whether the contrast is conditional on covariates or standardized over them.

  • Wrong: “The case fraction in the sample is the disease risk.” Correction: Case-control sampling fixes or alters the case fraction; it does not generally preserve source-population prevalence.
  • Wrong: “The logistic odds ratio is the risk ratio, so the odds-ratio RERI is the risk-scale interaction.” Correction: Odds and risks differ. Convert odds ratios using a compatible baseline risk, or estimate population risks with calibration or valid sampling weights.
  • Wrong: “An external overall prevalence is enough to determine every cell risk.” Correction: Calibration also needs a risk model and target-population predictor distribution (or other information that identifies the cell risks).
  • Wrong: “A positive additive contrast proves biological or causal interaction.” Correction: It establishes departure from additivity for the estimated risks. Causal claims require additional design and identification assumptions.
Key takeaway: Case-control odds contrasts can be informative about relative disease odds, but risk-scale additive interaction requires population risks. Obtain them through a compatible baseline risk, calibrated model with external prevalence and target covariate distribution, or valid inverse-probability weighting; then interpret the contrast in the target population and on the risk-difference scale.

Check Your Understanding

Answer each question using the assumptions and definitions given above.

  1. Why is the fraction of sampled participants who are cases generally not an estimate of population disease prevalence?
  2. What additional information is needed to convert a cell odds ratio into a risk?
  3. An additive interaction contrast is estimated as 0.012. State its interpretation in risk-difference units, without making a causal claim.
  4. What target-population information is needed to calibrate a logistic risk model to external prevalence?
  5. Name two conditions needed for inverse-probability weighting to recover population risks from case-control sampling.
Clinical Biostats