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
glm: individual contribution to log-likelihoodDear Statalisters, is there a way to obtain the individual contribution to the log-likelihood when u…
-catplot-: Suppress automatic title under x-axis?Dear all, I am creating a graph much like this: Code: sysuse auto, clear catplot rep78, over(forei…
random fixed effect model of panel dataHi, I am trying to anlysis an (unbalanced) panel data which covers around 6000 companies (79000 fri…
tsline command with maximum observationsDear Stata community, I am running the tsline command for a graph of average male unemployment by c…
Generating a change score variableHi Statalist, I am trying to generate a change score that captures changes in labour force particip…
Subscribe to:
Post Comments (Atom)
0 Response to area specific linear time trend
Post a Comment