Dear all,
I am writing here with the hope I can find help regarding an obstacle that I am having with Stata. I have a dataset that contains information for 3 years, and according to Wooldridge, to check if the effect of a variable has changed over a certain time period, then I have to interact the variable with the year dummy. So my base year is year=2014, and the other two years are 2016 and 2018. I want to check how being unemployed in 2018 and 2016 affects the dependent variable in comparison to 2014. If I run in Stata the code reg y var1 var2 unemployed i.year i.unemployed#i.year, the interaction term unemployed#2018 gets ommited. I have also tried to interact unemployed with dummy year for 2016 and then also interact it with dummy year for 2018, but then other interactions get ommited as well. I also have interactions of other categorical variables with year dummies and it has worked perfectly. Now I wonder whether I have correctly understood the concept from Wooldridge book or maybe my code is not correct. Does anyone have any idea how to proceed?
Best Regards,
Lola Brahimi
Related Posts with Interaction between dummy variable and time dummy variable
Wonder how I should set my control and my treatment groups for a diff-in-diff regression?Hello! I'm looking to run my first diff-in-diff regression for my research project that talks about…
command pbalchk with fator variablesHello, I am trying t use the command pbalchk to examine the balance of covariates with ipw weights. …
Panel of firms - FE/RE model specificationDear Experts, I want to evaluate the effect of economic policy uncertainty on investment in various…
How to keep only the observations that are not repeated on a single string variable?Hello, I have a database that has repeated observations on a single variable. The problem is that t…
Criteria for xtregar or xtglsHi Dear, As xtregar and xtgls are recommended for the panel dimensions when T>N, what is the cri…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction between dummy variable and time dummy variable
Post a Comment