I have 2012-2018(Aug) monthly data, there are 80 (6*12+8) time periods. 52 areas in the data set

I have Year and Month in the data. How do I control area specific trend?

coding of the time variables:
year_month: 1-80
year:2012-2018
year sequence: 1-7
month_sequence:1-12


is the below code correct for controlling area specific time trend?

xtset area_id year_month

xtreg Y X c.year_sequence*i.area_id c.month_sequence*i.area_id To approve a single suggestion, mouse over it and click "✔"
Click the bubble to approve all of its suggestions.

Log in
to use Ginger

Limited mode
Is the below code correct for controlling
×