Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: single failure with mulltiple risk periods


From   Dawn Teele <teeled@reed.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: single failure with mulltiple risk periods
Date   Sat, 18 Mar 2006 22:22:41 -0800

Hello,

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?

Thanks!

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/



© Copyright 1996–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index