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
generate cumulative IRF after -xtvar-Hi Statalists, I'm estimating panel VAR with -xtvar- (a user-contributed code by Cagala(2014)?). I'…
Difference in Fixed Effect and Random EffectsHello! I am trying to understand the different Panel Data models and I am getting confused by the di…
Is meglm support for poisson mean difference?In the Multilevel model, meglm is responsible for many linkage functions and families, but not for t…
generate retirement ageHey all, I am using panel data and have a full population dataset. I can observe an individuel over…
Interpreting sureg resultDear all, can you show me how to interpret this sureg result? Esp for d##c thank you in advance sur…
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