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
Making a Balanced Panel Dataset in Stata 16 from (Almost) ScratchHello, I'm a long-time lurker and first time poster. I have a dataset in Stata with units (say, sta…
cmclogit & cmxtmixlogit: which model to use?Dear Statalists, I'm building a multinomial logit model to analyze ride-hailing behaviors. Each res…
Error using spgenerateHello Statalisters, I am trying to create spatial lag variable manually using spgenerate command. I…
duplicate article resultsHi, I am trying to duplicate table 2 using the researchers' do and ado files. for some reason I kee…
Advice on Panel Data usage (tests to be performed)Dear all, I will start the methodology part of my master thesis soon and would like to get your adv…
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