Observational (non-experimental) studies of interventions can generate valuable evidence when randomized trials are infeasible, unethical or unable to provide timely answers to important clinical and policy questions. The use of observational data to estimate the comparative benefits and harms of medical interventions has increased substantially and has informed clinical, policy and regulatory decisions 1 , 2 .
This growth has been driven in part by the expanding availability of large healthcare databases and methodological advancements 1 , 3 . However, causal inferences made from observational data are often criticized as being at high risk of bias.
The practice of designing observational analyses to mimic a randomized trial dates back to the 1950s and has long been used to compare the effectiveness of medical interventions 4 . The approach was generalized to time-varying treatments in 1986 (ref.
5 ) and was subsequently formalized in 2016 within the ‘target trial’ framework 3 .