Hello all,
I am looking into how the number of times a person migrates affects their change in happiness levels by using panel data and with the plan to use fixed effect regression.
In my econometric model, I have dummy variables that show when an individual moves and how many times they have moved up to that point (dummy variables are as follows, ‘5th time of migration’, ‘6th time of migration'…nth time of move). It has come to my awareness that with the increasing occurrence of migration, that prior migrations may impact the effectiveness of the nth time of migration.
My question Is if there is a way to take this into account? I know about interaction variables, but the model currently has 11 dummy variables to show each time a person moves. Would the creation of a categorical variable to encompass all the dummy variables be needed but how to consider if prior moves affect the current move?
I am using Stata 15.
This is a continuation of the post from https://www.statalist.org/forums/for...dummy-variable.
Thank you in advance.
Related Posts with Panel data and regressing when the occurrence of a dummy variable may affect other occurrences
Creating a Complicated Variable.Hello all, I have 7 variable all coded 0 = no and 1 = yes. (nothing else). All variables ask if you…
"Reshaping" data to panel dataI cannot include my source data due to sensitivity, but if needed I will post a template with made u…
a command to create a new variable starting from a specific yearI have data set from two different time periods, the first periods from the year 1990 to 2019 and th…
regress by stateHi Statalist, I have a dataset, which includes wk(weekdays), wk2(weekend), sn(state by group), reso…
Update to -dstat- (and -moremata-) available from SSCAn update to the dstat package is available from SSC. dstat is a general command to estimate summary…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data and regressing when the occurrence of a dummy variable may affect other occurrences
Post a Comment