Hello all
I am looking into how the number of times a person migrates affects their change in happiness levels.
My question is that I have a dummy variable that shows when a person migrates ( 1 if they move in that year) but I don’t know how to have a variable that adds onto previous occurrences of this dummy variable showing 1. For example, when the person has already migrated once, there will be a variable to show that this is the second time of moving and so on for multiple migrations.
I am using 15.
Thanks in advance
Related Posts with Panel data and adding the occurrence of a dummy variable
How to run Quantile regression with a dependent categorical variableDear all, Is there any way to run Quantile regression using a dependent categorical variable. I hav…
Comparing 2 mean changes per year for statistical difference?Dear Stata users, I have calculated mean changes in eGFR in 2 groups using mixed model. Group 1 me…
Using DateTime as Independent Variable - Regression Discontinuity in TimeHi everyone! In the same vein as Davis (http://faculty.haas.berkeley.edu/lda...JPE%202008.pdf), I w…
Meta-analysis: inverse variance heterogeneity modelDear all, I am trying to perform a meta-analysis using the inverse variance heterogeneity model as …
cmp for instrumental multinomial probit when there is cluster, baseoutcome, if conditionsI have been running non-instrumental multinomial probit that roughly looks like Code: mprobit Y X…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data and adding the occurrence of a dummy variable
Post a Comment