Dear Statalist,
I am looking at the effect of an environmental treaty on greenhouse gas emissions, using 140 countries across a 24 year period (1990-2013).
Using a panel model (fe estimator), I run xtreg yit x1it ...xnit, fe, where "xnit" is my treaty variable, a dummy which takes the value 1 from the year a country has ratified this treaty.
I am interested in a specific period of time (2008-2012) for which the treaty was active, and so add another dummy, which will capture this period effect. However, I would like to introduce a time trend, or some year specific effect that I can interact with this dummy, to see what it's contribution was over and above the time effect. I am unsure as to how I would do this.
Thank you in advance, and apologies if I have not been clear.
Usman
I am looking at the effect of an environmental treaty on greenhouse gas emissions, using 140 countries across a 24 year period (1990-2013).
Using a panel model (fe estimator), I run xtreg yit x1it ...xnit, fe, where "xnit" is my treaty variable, a dummy which takes the value 1 from the year a country has ratified this treaty.
I am interested in a specific period of time (2008-2012) for which the treaty was active, and so add another dummy, which will capture this period effect. However, I would like to introduce a time trend, or some year specific effect that I can interact with this dummy, to see what it's contribution was over and above the time effect. I am unsure as to how I would do this.
Thank you in advance, and apologies if I have not been clear.
Usman
Comment