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
Estimating Random Effects in Mixed-effect Logistic Regression ModelHello, I am facing a crucial problem during the estimation of a random effect in a mixed effect log…
Estimating Random Effects in Mixed-effect Logistic Regression ModelHello, I am facing a crucial problem during the estimation of a random effect in a mixed effect log…
Tabulating descriptive statistics by group and year Hi folks, give the data below, i would like to produce a similar table as shown in the image attach…
Student asking advice on how to learn mixed effects models and generalized estimating equations to account for 2 eyes in 1 patientGood day everyone, I'm a beginning ophthalmology researcher/student, and I wanted to reach out peop…
deleting words in () for each row?Dear All, I found this question here (https://bbs.pinggu.org/thread-10057724-1-1.html). The data is:…
Subscribe to:
Post Comments (Atom)
0 Response to area specific linear time trend
Post a Comment