You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Time fixed effects in Cox proportional hazards model
Hi, I was wondering if it's possible to include year fixed effects in a Cox proportional hazards model with time-dependent covariates using an individual-year panel dataset?
If each year is the interval of time, shouldn't one use an interval-censored model (-stintcox-, for example)? Moreover, before rushing to include 'year' (an indicator of calendar time) as a covariate, checking that 'year' is not collinear with elapsed duration (or other covariates that are time dependent, by which I mean calendar time or duration time dependent)
Hi Carlo and Stephen, thank you both for your responses. I have a variable that represents the number of days until the event, but the data is updated every year so I assumed I would use yearly intervals. I'm not entirely sure how to approach this.
Comment