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?
Reshape dataset with format "variable:value"Hello everyone, I have a dataset in the format "variable : value" (see also the following example).…
Johansen Cointegration TestGood evening, I have a question regarding the Johansen cointegration test in Stata. I have two month…
Q - A problem with qregpd: a Quantile Regression in an Unbalanced Panel Data setHi everyone, I am trying to perform a Quantile Regression with an unbalanced panel data set, to fin…
Re-elaboration of string variableHi all, my data look as follows: Code: * Example generated by -dataex-. For more info, type help …
Using loop for generate and replaceHi, I would like to make a loop were I create 20 new variables (stretching 2001-2020) using two cons…
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