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
How to draw a vertical graph with a list of coefficients and confident intervalToday I found a very nice way to present our result by using the vertical line with the coefficients…
How to design graph for multiple choice question?Dear Statalist, I hope this finds you well. I would like to design a graph (e.g. pie chart or bar …
Time Trend in PM2.5 and How to Deal with It in Cox Regression?Hi All. I am currently study the association between PM 2.5 and adult ANCA asthma ( a disease). Hig…
Is forvalues inconsistently inclusive?Is this behavior inconsistent or am I missing something? Code: . forv x = 0(0.05)1{ 2. d…
How to overlay distribution of participants responses for a certain survey question?Dear Statalist, I hope you are well. I got this comment (Distribution of ‘i’ more extreme for micr…
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