Thanks in advance for reading my post, hope the lockdown is somewhat bearable

---
tl;dr
My regression line looks like this: reg income treatment i.year i.year#c.weighted_treatment
(weighted_treatment = specific_weight*treatment) . I want 2005 to be the base year in the interaction part (year {1999-2016}; I don't care about the year variable alone).
-----
I've tried to set the base in multiple ways, such as:
i2005.year#c.weighted_treatment
i(#7).year#c.weighted_treatment
ib2005.year#c.weighted_treatment
ib(2005).year#c.weighted_treatment
I think I tried even the o2005.year and also the fvset base command.
At this point, any other ideas would be welcomed!
Thanks you again,
Brit
0 Response to Setting base level for regression's interaction with continuous variable
Post a Comment