Monday, March 20, 2006
st: single failure with mulltiple risk periods
I have a question about using the st commands for panel data where a failure can only happen once, but where subjects go in and out of risk.
To be specific, the event in question is the ratification of a specific ILO convention. right now I have used the command:
stset date1, id(panelid) failure(cnv100) origin(joinILO==1)
to tell stata that each country is at risk of ratification only after they have become members of the ILO.
But some of the countries in the sample, for instance the United States, were members at the beginning of the risk period (1976), but then dropped out between 1980 and 1993.
Failure, then, must be conditional on the country actually being a member in each timer period. Do you have any suggestions for how to deal with this?
Dawn Teele Reed College '06 * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
Links to this post: