Here's my question:
Let's say I'm looking at smoking (categories smoker, ex-smoker, never smoked) and risk of death (binary dead, not dead). I have a follow-up of 5 years. What happens if someone becomes an ex-smoker 3 years into the study?
Do they become effectively censored from the point at which they became an ex-smoker? And following this do they contribute to the survival time for the ex-smoker group until either the end of follow-up (censored) or death? (event)
Its probably a very simple question but I can't find a good explanation of it online. Perhaps I'm having trouble wording the question.
Thanks!