Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jan 1;36(1):107-114.
doi: 10.1097/EDE.0000000000001808. Epub 2024 Nov 4.

A Structural Description of Biases That Generate Immortal Time

Affiliations

A Structural Description of Biases That Generate Immortal Time

Miguel A Hernán et al. Epidemiology. .

Abstract

Immortal time may arise in survival analyses when individuals are assigned to treatment strategies based on post-eligibility information or selected based on post-assignment eligibility criteria. Selection based on eligibility criteria applied after treatment assignment results in immortal time when the analysis starts the follow-up at assignment. Misclassification of assignment to treatment strategies based on treatment received after eligibility results in immortal time when the treatment strategies are not distinguishable at the start of follow-up. Target trial emulation prevents the introduction of immortal time by explicitly specifying eligibility and assignment to the treatment strategies, and by synchronizing them at the start of follow-up. We summarize analytic approaches that prevent immortal time when longitudinal data are available to emulate the target trial from the time of treatment assignment. The term "immortal time bias" suggests that the source of the bias is the immortal time, but it is selection or misclassification that generates the immortal time, leading to bias.

PubMed Disclaimer

Conflict of interest statement

The authors report no conflicts of interest.

Figures

Figure 1.
Figure 1.
Survival curves from a follow-up study based on all data (A), on data restricted to those who survive at least 3 months with follow-up starting at assignment (B), on data restricted to those who survive at least 3 months with follow-up starting at 3 months (C).
Figure 2.
Figure 2.
Causal directed acyclic graph of a follow-up study with treatment A0 at time 0 and outcome Y12 at time 12, and with selection represented by the conditioning on Y3=0 at time 3, a post-assignment eligibility criterion. U represents unmeasured susceptibility factors. Immortal time arises when the start of follow-up in the analysis remains at time 0.
Figure 3.
Figure 3.
Schematic representation of a study with 16 individuals (horizontal lines) assigned to one of two strategies indistinguishable at time zero: (A) original assignment Z, (B) reconstructed assignment Z* with immortal time, (C) reconfiguration of the data to emulate a study in which individuals are assigned to strategies that are distinguishable at time zero (no immortal time), and (D) reconfiguration of the data to allocate person-time to “exposed” and “unexposed” categories (no immortal time).
Figure 3.
Figure 3.
Schematic representation of a study with 16 individuals (horizontal lines) assigned to one of two strategies indistinguishable at time zero: (A) original assignment Z, (B) reconstructed assignment Z* with immortal time, (C) reconfiguration of the data to emulate a study in which individuals are assigned to strategies that are distinguishable at time zero (no immortal time), and (D) reconfiguration of the data to allocate person-time to “exposed” and “unexposed” categories (no immortal time).
Figure 4.
Figure 4.
Causal directed acyclic graph of a follow-up study with treatment A0, A1, and A2 (jointly represented as A0-2) at times 0, 1, and 2, respectively, and outcome Y1-2 at times 1 and 2, and Y12 at time 12. Z* represents post-eligibility assignment (to a treatment strategy) that is constructed as a deterministic function of A0-2 and Y1-2. U represents unmeasured susceptibility factors. Immortal time arises for some treatment strategies because individuals can only be assigned to them if they survived the early follow-up period (Y1-2=0).

References

    1. Walker AM. Observation and Inference: An Introduction to the Methods of Epidemiology. Newton Lower Falls: Epidemiology Resources Inc., 1991.
    1. Hanley JA, Foster BJ. Avoiding blunders involving ‘immortal time’. Int J Epidemiol 2014;43(3):949–61. DOI: 10.1093/ije/dyu105. - DOI - PMC - PubMed
    1. Farr W. Vital statistics : a memorial volume of selections from the reports and writings of William Farr (edited by Humphreys Noel A.). London: Sanitary Institute of Great Britain, 1885.
    1. Hill AB. Cricket and its relation to the duration of life. Lancet 1927;210(5435):949–950.
    1. Gail MH. Does cardiac transplantation prolong life? A reassessment. Annals of Internal Medicine 1972;76(5):815–7. (http://www.ncbi.nlm.nih.gov/pubmed/4554414). - PubMed