HTAtlas
← Back to explore

Clone-Censor-Weight target trial emulation tutorial

Methodvalidated✓ Source-grounded

This tutorial shows how to use observational data to emulate a clinical trial when studying treatments that cannot be randomly assigned, especially when there's a risk of timing-related bias. It uses a method that clones patients, accounts for when they drop out of the study, and adjusts results using weights to make fair comparisons. It was used to study whether older lung cancer patients benefit from surgery.

At a glance

Use when

Estimating causal effects from observational data when there is risk of immortal-time bias, such as in studies of time-dependent treatments or delayed initiation of therapy where standard survival analysis may be misleading

Avoid when

When data are insufficient to model censoring or when key confounders are unmeasured or poorly captured; also not ideal when the proportion of censored individuals is very high, leading to unstable weights

Inputs

Observational cohort data with treatment initiation times, baseline covariates, survival times, and censoring indicators; specification of target trial design (eligibility, treatment strategies, follow-up period)

Outputs

Weighted survival curves, hazard ratios, and estimated treatment effects from emulated trials that account for immortal-time bias and confounding

How it works

This tutorial implements a target trial emulation framework to address immortal-time bias and confounding in observational studies. The method involves five steps: (i) defining the target trial and inclusion criteria; (ii) cloning individuals to represent potential treatment initiators; (iii) defining time-to-event outcomes and censoring rules; (iv) estimating inverse probability of censoring weights (IPCW) to correct for informative censoring due to design; and (v) conducting weighted survival analysis (e.g., weighted Kaplan-Meier or Cox models). The approach is demonstrated using real-world data on elderly (70–89 years) early-stage lung cancer patients to estimate the 1-year survival benefit of surgery. The method removes covariate imbalance via weighting, with R and Stata code provided for implementation.

HTA domains
Clinical Effectiveness, Safety, Organisational aspects
Assumptions
No unmeasured confounding after weighting; correct specification of the censoring model for IPCW; consistency between treatment assignment in the emulated trial and actual exposure; stable unit treatment value assumption (SUTVA)
Strengths
Transparent application of causal inference principles accessible to non-specialists,Effectively addresses immortal-time bias through cloning and weighting,Provides tools (code in R and Stata) for practical implementation,Reduces covariate imbalance through inverse probability of censoring weights,Aligns observational analysis with randomized trial logic via target trial emulation
Limitations
Relies on correct model specification for the censoring mechanism,Assumes no unmeasured confounding, which cannot be verified from data,May have reduced precision due to weighting, especially with extreme weights,Requires detailed longitudinal data with accurate timing of events and treatments
Also known as
Trial emulation with cloning and weighting, Clone-Censor-Weight method, Target trial emulation tutorial for immortal-time bias

Questions this answers

References & sources

Similar by meaning

Beta record. Generated from the primary source via AI extraction and independent audit, pending final human review.