What is Immortal Time Bias?
Immortal time bias (also called immortal person-time bias) is a type of selection bias that occurs in observational studies, particularly cohort studies evaluating treatment effects over time. It arises when a portion of follow-up time for certain participants—during which they cannot possibly experience the outcome (e.g., death or disease progression)—is incorrectly allocated to the treatment group. This "immortal" time artificially inflates the survival or event-free time for the treated group, creating the illusion that the treatment is more effective than it truly is.
In essence:
- Participants destined to receive treatment (exposed) accumulate "guaranteed" survival time before treatment initiation because only those who survive long enough can start the treatment.
- If this pre-treatment time is misclassified as "treated" time, the exposed group appears to have longer event-free survival compared to the unexposed group.
This bias is common in studies using administrative data (e.g., electronic health records) where treatment exposure is not fixed at baseline but occurs dynamically during follow-up.
How It Leads to Overestimation of Treatment Effectiveness
Consider a hypothetical cohort study examining whether a new drug reduces mortality in patients with heart failure. Patients enter the study at diagnosis (time 0), but the drug is only prescribed after 6 months if they survive that long and meet criteria.
Biased Analysis (Leading to Overestimation):
- Exposed group: Patients who start the drug at month 6 (n=500). Their entire follow-up—from month 0—is classified as "exposed" time.
- Includes 6 months of "immortal time" (pre-drug, where death was impossible by definition).
- Total person-time: Say, 500 patients × 24 months average follow-up = 12,000 person-months.
- Events (deaths): 50 → Crude mortality rate = 50 / 12,000 = 0.42%.
- Unexposed group: Patients who never start the drug (n=1,000).
- Follow-up starts at month 0, no immortal time.
- Total person-time: 1,000 × 12 months average = 12,000 person-months.
- Events: 200 → Crude mortality rate = 200 / 12,000 = 1.67%.
- Result: Hazard ratio (HR) ≈ 0.25 (95% CI: 0.18–0.35), suggesting the drug reduces mortality by 75%. Overestimation! The exposed group's extra 3,000 person-months of immortal time (500 × 6 months) makes them look like super-survivors.
In reality, the drug might have little or no effect—the bias credits the treatment for survival that occurred before it was given.
[image: Conceptual Illustration of Immortal Time Bias] open
(Imagine a Kaplan-Meier curve: Biased analysis shows treated curve staying high longer due to immortal time; corrected analysis converges.)
Methods to Avoid Immortal Time Bias
Several strategies can mitigate this bias, depending on the study design and data availability. The goal is to either exclude immortal time or account for it properly using time-varying exposure.
| Method | Description | Pros | Cons |
|---|
| Time-Dependent Covariates (Recommended Primary Method) | Use Cox proportional hazards models where exposure status changes over time (e.g., unexposed until treatment start, then exposed). Software like SAS, R (survival package), or Stata supports this. | Handles dynamic treatment initiation; preserves all data. | Requires individual-level data; assumes proportional hazards. |
| Landmark Analysis | Select a "landmark" time (e.g., 6 months post-enrollment). Include only patients alive at landmark; classify as exposed if treated by landmark. Follow-up starts at landmark. | Simple; avoids immortal time. | Reduces sample size; assumes no events before landmark are informative. |
| Time Origin Shift (or Treatment-Initiation Cohort) | For exposed: Start follow-up at treatment initiation.For unexposed: Start at a matched time point (e.g., same lag) or exclude their pre-lag time. Use propensity score matching. | Intuitive; mimics RCTs. | May introduce survivor bias or immortal time in unexposed. |
| Cloning/Extended Cox Models | "Clone" each patient into exposed/unexposed versions at treatment eligibility; follow only the relevant path. | Accounts for time-varying confounders. | Computationally intensive. |
| Exclude or Censor Pre-Treatment Time | Explicitly remove pre-treatment person-time from exposed group in rate calculations. | Straightforward for crude rates. | Inefficient; not suitable for survival models. |
Best Practices:
- Always plot exposure timelines: Visualize when treatments start relative to follow-up.
- Sensitivity analyses: Compare biased vs. corrected methods to quantify bias.
- Propensity score methods: Match or weight on treatment initiation time to balance immortal periods.
- Avoid "ever-exposed" at baseline: Never classify exposure based on future events.
By applying these, studies like those on beta-blockers in heart failure (once biased) have been corrected, revealing more modest (or null) effects. Immortal time bias underscores why observational studies need rigorous epidemiologic methods to approximate randomized trial validity. If you have a specific study example, I can dissect it further!