Dear Statalisters,
I observe each subject’s event history since t=0 (when the subject is at risk of failure). However, I don’t have values for the explanatory variable X for the entire period. For example,
ID begin end fail X
1 0 1 0 .
1 1 2 0 .
1 2 3 0 10
1 3 4 1 15
Is this considered “delayed entry” in the survival analysis? Is it proper to use the following stset command?
stset end, id(id) fail(fail) enter (x !=.)
Thanks.
Bo
I observe each subject’s event history since t=0 (when the subject is at risk of failure). However, I don’t have values for the explanatory variable X for the entire period. For example,
ID begin end fail X
1 0 1 0 .
1 1 2 0 .
1 2 3 0 10
1 3 4 1 15
Is this considered “delayed entry” in the survival analysis? Is it proper to use the following stset command?
stset end, id(id) fail(fail) enter (x !=.)
Thanks.
Bo
Comment