Hi all:
I need some help. I have a longitudinal dataset that I'm using for survival
analysis. In the dataset, I have a variable called Participation (yes=1 & 0
otherwise). Now I want to create a new variable called "Quit" or "Exit". To
create the new variable, my idea is that if an individual records "1" in year
t, I want him to move out of the risk set in year t+1. So, the question is how
do I go about creating the new variable I like to call QUIT!
Thank you.
Sul
*
* 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/