Dear all,
I am trying to stset my data, and I cannot quite figure out how to do what I want to do.
My data concerns head coaches which work for sports teams. I have multiple observations of each coach in irregular intervals (where I am recording performance data etc.). I would like to stset the data, so I can run all sorts of survival time commands on them.
For each one of the coaches, I know the date he gets fired. But: I do not have an observation which is from the exact day of firing. So I wonder how I can tell this to Stata?
Simply adding a new variable "fired" as my event variable and setting it to 1 on each coach's last observation feels wrong because this observation can of course be quite some time before the coach gets fired.
Do you have any ideas of how I need to do this?
Your help is greatly appreciated!
Michael
I am trying to stset my data, and I cannot quite figure out how to do what I want to do.
My data concerns head coaches which work for sports teams. I have multiple observations of each coach in irregular intervals (where I am recording performance data etc.). I would like to stset the data, so I can run all sorts of survival time commands on them.
For each one of the coaches, I know the date he gets fired. But: I do not have an observation which is from the exact day of firing. So I wonder how I can tell this to Stata?
Simply adding a new variable "fired" as my event variable and setting it to 1 on each coach's last observation feels wrong because this observation can of course be quite some time before the coach gets fired.
Do you have any ideas of how I need to do this?
Your help is greatly appreciated!
Michael