Tutorials › Population Pharmacokinetics › Confounding by Indication in Co-medication Analyses

Sex, Race, Genetics and Co-medications · Tutorial 267 of 599

Confounding by Indication in Co-medication Analyses

Learn to distinguish a medication-associated PK contrast from a medication effect when the reason for treatment may also influence PK.

Intermediate 12 min read

What You'll Learn

  • Define confounding by indication in a population PK analysis.
  • Explain how a treatment indication can be associated with both medication exposure and PK parameters.
  • Derive the direction of omitted-variable bias in a simplified log-clearance model.
  • Identify covariate patterns that raise concern about confounding.
  • Compare adjustment, restriction, and crude medication contrasts.
  • Use a quantitative sensitivity check to assess possible residual confounding.

Why the Reason for Treatment Matters

A concomitant medication may be associated with a PK parameter because it changes drug disposition. But the condition that prompted the medication can also be associated with disposition. For example, a treatment may be prescribed more often to patients with a disease state that changes hepatic blood flow, renal function, inflammation, or protein binding. A difference in clearance between medicated and unmedicated patients can therefore reflect the medication, the condition, or both.

This is confounding by indication: the reason for prescribing a medication is associated with medication exposure and also influences the PK outcome being analyzed. The concern is not resolved by accurately coding medication use. Correct exposure coding is necessary, but it does not by itself separate a medication effect from differences in the patients who receive it.

Definition: In a co-medication analysis, confounding by indication occurs when the indication or its severity is associated with whether a patient receives the co-medication and also affects the PK parameter of interest, or is associated with other causes of that parameter. The resulting medication-associated contrast can differ from the contrast that would be attributed to the medication if the relevant indication-related factors were comparable.

The interpretation depends on the question. A model can estimate an association between medication status and clearance in the observed data. Calling that association a medication effect is a stronger claim: it requires that indication-related differences and other relevant causes have been adequately handled, in addition to appropriate exposure timing, model specification, and data support. Covariate adjustment can reduce measured confounding, but it cannot guarantee that unmeasured differences have been removed.

A Simple Derivation of Omitted-Indication Bias

Consider a simplified model for log clearance, \(\log(CL)\), with a binary medication indicator \(M\) and a binary indication indicator \(D\), where each equals 1 when present and 0 otherwise:

$$ \log(CL)=a+\beta_M M+\gamma_D D+\varepsilon. $$

Here, \(\beta_M\) is the medication-associated contrast conditional on indication, \(\gamma_D\) is the indication-associated contrast conditional on medication, and \(\varepsilon\) contains remaining variation. Suppose the model is correctly specified, the error has mean zero conditional on \(M\) and \(D\), and the indication effect is adequately represented by this binary term. If a regression instead omits \(D\), the coefficient for \(M\) absorbs some of the indication contrast whenever \(M\) and \(D\) are associated.

The omitted-variable relationship can be derived by taking the covariance of both sides of the full model with \(M\). Under the stated zero-conditional-mean assumption, \(\operatorname{Cov}(M,\varepsilon)=0\). Dividing by \(\operatorname{Var}(M)\), the slope from the model omitting \(D\) is:

$$ \widetilde{\beta}_M = \frac{\operatorname{Cov}(M,\log(CL))}{\operatorname{Var}(M)} = \beta_M+ \gamma_D\frac{\operatorname{Cov}(M,D)}{\operatorname{Var}(M)}. $$

The second term is the omitted-indication contribution. If the indication is more common among medicated patients, the covariance is positive. If that indication is associated with lower clearance, then \(\gamma_D\) is negative, and the unadjusted medication coefficient is shifted downward. If the indication is associated with higher clearance, the direction can reverse. This derivation is exact for the stated linear model; nonlinear mixed-effects PK models may not have this simple coefficient formula, but the same problem remains: medication groups with different indication profiles can have different PK parameters for reasons other than medication exposure.

Worked Example: An Apparent Clearance Reduction With No Within-Group Medication Effect

Hypothetical data. Suppose a condition that prompts treatment is associated with lower typical clearance. For this illustration, patients with the condition have a mean clearance of 4.5 L/h, and those without it have a mean of 6.5 L/h. Within either condition group, assume the co-medication has no effect on clearance. The condition is present in 80% of medicated patients but 20% of unmedicated patients.

The mean clearance among medicated patients is the weighted average:

$$ \bar{CL}_{M=1}=0.80(4.5)+0.20(6.5)=3.60+1.30=4.90\text{ L/h}. $$

Among unmedicated patients, the corresponding mean is:

$$ \bar{CL}_{M=0}=0.20(4.5)+0.80(6.5)=0.90+5.20=6.10\text{ L/h}. $$

The crude ratio is \(4.90/6.10=0.803\), or an apparent 19.7% lower clearance in the medicated group. Yet by construction, the medication has no effect within either condition group: the clearance is 4.5 L/h in both medication groups among patients with the condition, and 6.5 L/h in both medication groups among patients without it. The crude contrast arises because the groups contain different proportions of patients with the condition. This example demonstrates a possible source of bias; it does not establish that any real medication contrast is confounded.

Representing the Indication in a PK Analysis

A useful first step is to describe the clinical pathway linking the condition, medication, and PK outcome. The indication can influence prescribing, while the condition or its severity can influence clearance, volume of distribution, absorption, or other PK parameters. Other patient characteristics may also influence prescribing and PK. These relationships make the medication coefficient difficult to interpret if indication-related covariates differ between exposure groups.

A covariate model can represent measured indication-related factors alongside medication exposure. For example, a simplified typical-clearance model might be written:

$$ CL_i=CL_{\mathrm{typ}}\exp(\beta_M M_i+\gamma_D D_i), $$

where \(CL_i\) is the typical clearance for individual \(i\), \(CL_{\mathrm{typ}}\) is the reference clearance, \(M_i\) indicates medication exposure, and \(D_i\) indicates the indication. With this log-linear parameterization, \(\exp(\beta_M)\) is the clearance ratio for medicated versus unmedicated individuals with the same value of \(D_i\), conditional on the rest of the model. The model assumes that the medication and indication effects combine multiplicatively on clearance, that the specified indication measure is adequate for the intended adjustment, and that the observed data can distinguish their contributions. If the medication effect plausibly differs by indication or severity, a single common medication coefficient may not represent the pattern; that possibility should be considered rather than hidden by the main-effects model.

In practice, the relevant indication may be more complex than a yes-or-no diagnosis. Severity, duration, recent exacerbation, or a physiologic consequence of the condition may be more informative. A diagnosis code that is present for nearly everyone in one medication group and nearly no one in the other may also provide little basis for separating the two effects. Covariate patterns and overlap therefore matter alongside the fitted coefficient.

Worked Example: Comparing Crude and Indication-Adjusted Estimates

Hypothetical model results. A population PK analysis reports a crude medication clearance ratio of 0.82. After adding an adequately measured indication indicator, the estimated conditional ratio is 0.97. Interpret the change, using the model \(CL_i=CL_{\mathrm{typ}}\exp(\beta_M M_i+\gamma_D D_i)\).

The crude log contrast is \(\log(0.82)=-0.1985\). The adjusted log contrast is \(\log(0.97)=-0.03046\). Converting the adjusted coefficient back to a ratio gives:

$$ \exp(-0.03046)=0.970. $$

Conditional on the modeled indication and the other model terms, the point estimate corresponds to 3.0% lower clearance for medicated than unmedicated patients: \(100(1-0.970)=3.0\%\). The crude estimate corresponded to 18.0% lower clearance: \(100(1-0.82)=18.0\%\). The attenuation after adjustment is consistent with measured indication differences explaining part of the crude contrast. It does not prove that the medication has no effect: uncertainty, unmeasured severity, model assumptions, and data support still matter. Nor does this comparison alone establish a causal effect.

Patterns and Sensitivity Checks

The following checks help determine whether confounding by indication is plausible and whether the available data can support an adjusted comparison:

  • Compare indication prevalence and severity. Summarize the indication and relevant severity measures by medication status. Large differences signal that a crude contrast is difficult to interpret as a medication effect.
  • Check overlap. Ask whether both medication groups include patients across the observed indication and severity range. If almost all patients with severe disease are treated, the model has little direct information about what their clearance would be without treatment. Adjustment then relies heavily on model form rather than comparison of similar observed patients.
  • Fit a clinically justified adjusted model. Include measured indication-related factors that are plausible predictors of the PK parameter and prescribing, with appropriate forms and timing. Compare the medication estimate and its uncertainty with the less-adjusted result. A change is informative about sensitivity to measured covariates, not proof of which estimate is correct.
  • Use a restriction or within-indication analysis when feasible. Comparing medication groups among patients with a similar indication can reduce differences in the broad reason for treatment. It may also reduce sample size, worsen precision, or leave severity differences unresolved.
  • Vary assumptions about unmeasured severity. Ask how strongly an omitted indication-related factor would need to relate to medication use and clearance to explain the remaining contrast. State the direction and magnitude assumed rather than labeling an estimate simply “robust.”

These checks require care in how exposure and indication are defined. The indication should refer to the condition prompting the medication, not merely a condition recorded at some unrelated time. The medication exposure window should correspond to the concentrations or PK observations being analyzed. For a condition that changes over time, a single baseline label may fail to represent the clinical state relevant to later treatment and PK. This does not mean every analysis must include every possible clinical measure: covariates should be selected and defined using clinical knowledge and the study timeline.

Worked Example: Quantifying a Residual-Confounding Scenario

Hypothetical sensitivity calculation. After adjustment for recorded indication and severity, a model estimates a medication clearance ratio of 0.90. Suppose an analyst considers a plausible omitted severity factor that could shift the log clearance contrast by \(-0.08\), meaning the residual confounding makes medicated patients appear to have lower clearance. Under the assumed additive log-scale decomposition, the adjusted estimate is the medication contrast plus that residual contribution.

The estimated log ratio is \(\log(0.90)=-0.1054\). Removing the assumed negative confounding contribution gives:

$$ \widehat{\beta}_{M,\mathrm{sensitivity}} = \log(0.90)-(-0.08) = -0.1054+0.08 = -0.0254. $$

The corresponding sensitivity ratio is \(\exp(-0.0254)=0.975\), or about 2.5% lower clearance. Under this particular assumption, the apparent 10% reduction is substantially attenuated. The calculation is not a corrected estimate established by the data: \(-0.08\) is an assumed residual bias, not an observed quantity. A useful sensitivity analysis would examine a range of plausible values and report whether the qualitative conclusion changes across that range.

Alternatives, Diagnostics, and Limits

A crude exposure contrast is easy to calculate but leaves all indication-related differences uncontrolled. Covariate adjustment can address measured differences while retaining more observations, but depends on suitable measurements, adequate overlap, and a reasonable model. Restriction or stratification compares a narrower or more homogeneous group, but can discard information and cannot adjust for unmeasured differences within that group. A randomized comparison, when ethically and practically appropriate, can balance indication-related factors in expectation, but observational PK analyses commonly rely on clinical data for which treatment was not randomized.

ApproachWhat it contributesMain limitation
Crude medication contrastDescribes the observed difference between exposure groupsDoes not separate medication from indication-related differences
Covariate adjustmentControls measured indication-related factors represented in the modelDepends on measurement, specification, and sufficient overlap
Restriction or stratificationCompares patients within a narrower indication-defined groupCan reduce precision and may leave residual severity differences
Randomized treatment assignmentBalances measured and unmeasured baseline causes in expectationMay be infeasible or inappropriate for the medication question

Warning signs include a large shift between crude and adjusted medication estimates, strong imbalance in indication severity, sparse or absent overlap, unstable estimates when a few patients are removed, and a fitted medication contrast that changes substantially under reasonable alternative indication definitions. These patterns do not prove bias, but they weaken confidence in a simple medication-effect interpretation. Conversely, similar estimates across measured-covariate adjustments do not rule out residual confounding by unrecorded disease severity or other unmeasured factors.

A common mistake is to reason, “The medication coefficient remains after adjustment, so the medication caused the PK difference.” The correction is that the coefficient is conditional on the covariates and assumptions represented in that model. It can still reflect unmeasured or poorly measured indication-related differences, lack of overlap, or model misspecification. Report the estimated contrast with its units and uncertainty, describe the indication adjustment, and distinguish a model-based association from a causal interpretation.

Key takeaway: When a concomitant medication is prescribed because of a condition that may also affect PK, examine the indication before interpreting the medication coefficient. Covariate patterns, overlap, adjusted comparisons, and explicit sensitivity assumptions show how vulnerable the result is to confounding; none alone guarantees its absence.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. A medication is more common in patients with a condition associated with lower clearance. If the medication has no true effect, which direction might the crude medication contrast move?
  2. In a log-clearance model, explain why including an indication term can change the medication coefficient.
  3. What does poor overlap between treated and untreated patients with severe disease imply for an adjusted medication estimate?
  4. An adjusted medication ratio is 1.05. State its interpretation and one reason it does not, by itself, establish a causal increase in clearance.

Solutions. (1) It may shift downward, making clearance appear lower among medicated patients, because the treated group contains more patients with a lower-clearance condition. (2) If indication is associated with both medication status and clearance, omitting it can cause the medication coefficient to absorb part of the indication contrast; adjustment estimates the medication contrast conditional on the modeled indication. (3) The groups provide little direct comparison among severe patients, so the estimate may depend strongly on model assumptions and extrapolation. (4) Conditional on the modeled covariates, the point estimate corresponds to 5% higher clearance in the medicated group, since \(100(1.05-1)=5\%\). Residual confounding, measurement error, or other model limitations may remain, so the association alone does not establish causation.

Clinical Biostats