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
×
Related Posts with area specific linear time trend
CLAD with autocorrelated dataHello, I would like to modell arbitrage profits between cryprocurrency exchanges. I have have 9 pair…
Creating and Saving graphs using loopDear Statalist Members, I am working on a panel data set. I want to create graphs and save graphs by…
Which model is best for my panel data?Dear Statalist members, I am using an unbalanced panel of 144 countries and 3300 obs to measure the…
append multiple dtas, but the total observations is not rightHi, I have been struggling with my appending results for a while. I appended multiple dtas in the sa…
testing 1 2 1 2 Code: . xtreg gini_disp kofgi educ urbanpop ln_gdppc ln_gdppc2, fe rob Fixed-effects (with…
Subscribe to:
Post Comments (Atom)
0 Response to area specific linear time trend
Post a Comment