Hello guys!
May I ask your assistance on how can I identify the individuals who have moved in and out of a certain state i.e poverty over waves after calculating the transition Matrix. Basically, I have calculated the transition matrix from my panel data with only two waves ( gap in years) using the xttrans2 command in Stata and I got the transition Matrix. But I want to identify either by using Individuals ID those who moved transited from state one to another and/or those remained in the same state by creating a binary variable with 1 if he/she changed state and zero otherwise.
Can anyone please explain to me how I can do it in Stata.
For example my data set is as is looks below; Now I want see the dynamics of variable Stunt over the two waves 2010&2012 and identify the IDs with different states ( changed states or/ and remained in the same state)
Array
Related Posts with How to Identify Individuals who have moved in and out of a certain state(say poor to good Health) after calculating the transition Matrix
WHEN to delete missing/negative values?Hello, I was wondering when it is best to clean the data (i.e. delete missing or negative values) w…
Using contrast post logistic to assess linear trend - response to a reviewerHello I am assessing the relationship between a binary outcome variable and a 4-category variable (…
New version of xdir on SSCThanks as always to Kit Baum, a new version of the xdir package is now available for download from S…
Dropping stocks below 5th percentileDear Statalists, I would like to drop the stocks whose market value (MV) is below 5th percentile of…
how to generate sequence integer starting from 0 (by group)Hi, I have a panel data set and try to generate sequence numbers by group but the numbers starting f…
Subscribe to:
Post Comments (Atom)
0 Response to How to Identify Individuals who have moved in and out of a certain state(say poor to good Health) after calculating the transition Matrix
Post a Comment