Dear all,
I have a unbalanced Panel data set with approx. 10000 panel persons and 3 observation periods.
How can I calculate how many panel persons changed from 0 to 1 respectively 0 to 1 in a particular dummy variable during the observation period ?
For example: 0 = single; 1= being in a relationship
How many …?
=> ...persons stayed single
=> ...persons stayed in a relationship
=> ...persons changed status from single to relationship
=> ...persons changed status from relationship to single
=> ...persons changed their status twice
Thanks a lot for your help!
Kind regards,
Lena
Related Posts with How can I calculate how many of my panel persons switched their dummy status between observation periods?
Individual fixed effects vs. school fixed effectsHi all, I am deciding between a school and year fixed effects model and an individual fixed effects…
Help with reclink: perform fuzzy matches of a variable within exact matches of another variableI am trying to perform a record linking in which I have two variables: 'cod' is a 6-digit code store…
Using a string variable as xlabel for plotsDear all, I would like to plot the weekly values of my three variables (1) amount of tests performe…
How to remove all characters that are not part of a predefined list?How can I remove from a STRING VARIABLE all characters that are not part of a predefined list? For e…
And/or symbolIs there an and/or command in Stata? I would like to generate a variable (recoverev) that would equa…
Subscribe to:
Post Comments (Atom)
0 Response to How can I calculate how many of my panel persons switched their dummy status between observation periods?
Post a Comment