Hi, I am investigating the effect of a commodity price on conflict. I have created a grid of cells with georeferenced data. I am using xtreg in Stata 16.1 have set Stata to xtset cell year and I am using cell FE, year FE and state-year FE. My independent variable is deaths.
To investigate the possible effect of a policy, I have created an interaction term: log(price) * commodity dummy * post-2010 dummy
where post-2010 is a dummy for if the year is after 2010.
My question I still need to include the term "log(price) * post-2010 dummy" or is the perfectly captured by the year FE?
Related Posts with Time-varying interaction term with year fixed effects
how to create variable showing the percent of rows with a variable with a certain valueIn my data there is a variable called class. There is lower, middle and upper class. I would like to…
xpose/sxpose keep a variable observations to assign as labels to new variablesDear Statalisters, I am trying to solve the following problem: assign the observations of a variable…
Coefplot - alignment x label and plotted valuesDear all, I have run the same regression 11 times, with similar model specifications; the only diffe…
Probit regression in StataHi, I don't know if anyone can help with this: I need to run a probit regression for binary variab…
How to compare nested clogit with robust or clustered standard errorsStata/MP 14.2. No access to internet. My data is longitudinal, with 128 individuals and around 700 …
Subscribe to:
Post Comments (Atom)
0 Response to Time-varying interaction term with year fixed effects
Post a Comment