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
Trouble shooting for-- Foreach macro with bysort command: help!Hello I'm using stata 15. I have a list of categorical variables for which I'd like to obtain info …
Numbers as strings in local macroHow to store in local macro a list of fractions. For example: Code: local ratios ""1487/1141" "791/…
Calculating Systematic Coronary Risk Evaluation in stataHello, I am calculating the Systematic Coronary Risk Evaluation in Stata, described in this article…
Multi-Wave Regression QuestionHi everyone! I want to ask a question about modeling a multi-wave data structure. Suppose that you …
Cleaning dataHello everyone, I am currently working on cleaning the data that I will be using for my master's th…
Subscribe to:
Post Comments (Atom)
0 Response to Time-varying interaction term with year fixed effects
Post a Comment