r-causal / causal-inference-in-R

Causal Inference in R: A book!
https://www.r-causal.org/
184 stars 48 forks source link

Immortal time bias #33

Open malcolmbarrett opened 2 years ago

malcolmbarrett commented 2 years ago
malcolmbarrett commented 2 years ago

After sleeping on this, I think @LucyMcGowan's discussion on simulating a dataset for this might be best. Then we can deal with all the issues involved with this type of data/bias while also having the data be kind of fun or different