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
Error in strdupDear All, I am trying to understand the exact reason the string duplication fails sometimes. The do…
panel xtglsHi, i've got a problem with the estimation i'm doing. i have a panel with n=8 and T=27. i have teste…
Panel data: Creating a variable that identifies respondents who answered a question at least once in a given survey yearGreetings, I'm running Stata 15.1 on OSX and working with panel data. My goal is to assess temporal…
Declaring class as a function into a class. Why ?Dear statalisters, I just read this part of the manual. Code: class U { real matrix M private real…
Meta analysis Stata 16I have 2 questions: 1. How to retain "zero" and "1" proportion in meta-analysis of proportion studie…
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