Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Tracking & documenting Change


From   Rituparna Basu <basur@pamfri.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Tracking & documenting Change
Date   Thu, 5 Apr 2012 18:05:59 +0000

Dear Statalist Scholars,

I have another issue, I would like to track the change of insurance status of a person from year to year. After tracking, I would like to document them as  %'stayed-same' , %'changed from A-B', etc.
Here is the sample data:
ID    Year  Insurance Status
1        04       A              
1        04       A
1        04       A
1        04       A
1        05      B             Changed A-B
1        05       B           Changed A-B
1        05       B           Changed A-B
1        06      B            Stayed B
1        06       B            Stayed B
1        06       B            Stayed B
2        04       A
2        04       A
2        04       A
2        05       A         Stayed A
2        05       A        Stayed A
2       05       A         Stayed A
2        05       A        Stayed A


Any thoughts will be very much appreciated. 

Thanks again for your time!

Regards,

RB



*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index