Dear all Stata users,
I need to run some event history analysis and I am facing one issue. Within the 'stset' command, I am using the 'enter' option for multiple-record data. With 'enter', I set the conditions according to which individuals enter the observation window. Such conditions are two: being out of education and being in paid employment. However, when I run the command, it seems like some people enter / do not enter the observation window according to those two criteria. Do you know whether there is a more proper way to write the syntax, to set two conditions that have to be fulfilled at the same time?
My syntax right now is:
stset time, [...] enter(emplstat == 0 t inedu == 0),
where emplstat == 0 stands for being in paid employment and inedu == 0 being out of education.
Thank you very much in advance,
Giovanni
I need to run some event history analysis and I am facing one issue. Within the 'stset' command, I am using the 'enter' option for multiple-record data. With 'enter', I set the conditions according to which individuals enter the observation window. Such conditions are two: being out of education and being in paid employment. However, when I run the command, it seems like some people enter / do not enter the observation window according to those two criteria. Do you know whether there is a more proper way to write the syntax, to set two conditions that have to be fulfilled at the same time?
My syntax right now is:
stset time, [...] enter(emplstat == 0 t inedu == 0),
where emplstat == 0 stands for being in paid employment and inedu == 0 being out of education.
Thank you very much in advance,
Giovanni