Hi all,

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
I was hoping to instead use quadratic trends. I am currently trying to construct this in the following way:

Code:
 year2 = year^2
Code:
 i.id##c.year2
I would really appreciate if someone could verify whether this is the correct way to include state-specific quadratic time trends.

Thanks.