Hi all,
I am hoping to use state-specific trends within my regression. Currently I am only using linear trends, with the following code:
I was hoping to instead use quadratic trends. I am currently trying to construct this in the following way:
I would really appreciate if someone could verify whether this is the correct way to include state-specific quadratic time trends.
Thanks.
I am hoping to use state-specific trends within my regression. Currently I am only using linear trends, with the following code:
Code:
i.id##c.year
Code:
year2 = year^2
Code:
i.id##c.year2
Thanks.
Comment