Dear all,
I'm a relatively new Stata user doing discrete event history models
with two questions regarding data handling. I have browsed manuals and
the list archive but cannot seem to find an answer to my questions that
works.
My data looks like this.
id time event indep1 .....
1 1 0 1
1 2 0 0
1 3 1 0
1 4 0 0
etc.....
1) How do I drop the observation for time 4 (after org1 has 'failed')
and it should no longer be part of my cloglog or logit models?
2) I want my indep var to work for two periods. How do I do that without
making it work for period 3?
Best regards,
Anders
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/