Hi.
I am working with panel data, and have a continuous treatment variable x. I am interested in the effect a policy change in 2015. X is interacted with time-dummy for 2015.
I have run this regression xtreg y i.year X*2015, fe vce(cluster id).
I also want to look at the years prior to and after the policy change of the continuous treatment group, and I want to set 2014 as the base year.
I have tried doing the following: xtreg y ib2014.year#c.x, fe vce(cluster id). But 2014 is not set as the base year, and year2016#x is omitted from the regression.
Wanted output:
Y
year#c.x
2009
2010
2011
2012
2013
2015
2016
Thanks you in advance.
Related Posts with Setting base year with interaction of continuous variable - panel data
** New On SSC ** censusapi - module to download census dataHi all Thanks to Kit Baum, censusapi is now available on SSC. This tool facilitates downloading dat…
ThresholdsHi everyone I want to investigate from wich debt rate the labor productivity will start decreasing …
How to test pro-poorness of growth if the sample size in two surveys are not equalHi, I would like to test pro-poorness of growth. In the example “Testing for pro-poorness of growth …
Meta analyse with STATA 15Hi, I have some problem with my new version of STATA 15, of course in the old versions it was very e…
Meaning of the Oaxaca_rif result?Thank you for your answer. The following results were obtained using oaxaca_rif. ------------------…
Subscribe to:
Post Comments (Atom)
0 Response to Setting base year with interaction of continuous variable - panel data
Post a Comment