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
generalized/staggered difference-in-difference with moderatorHello I am using a generalized/staggered difference-in-difference approach to investigate the effec…
GSEM identify latent classesI am trying to learn latent class models. I don't know much about them. I'm trying to figure out how…
dummy in OLS regression biased by other categorical variable in the sampleHi, (this is a re-post of a previous post I have posted by accident with a title that I was not yet…
Checking Parallel Trends assumptionGood Afternon everyone, I am writing this post in order to receive some help with the verification o…
Marginsplot: logit regression, IV is continous and moderator is a dummyDear Statalist, I run a logit regression and my IV is a continuous variable (average: -1.5, min: -2…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data and adding the occurrence of a dummy variable
Post a Comment