Hello everyone,
I would like to add a trend variable in my Tobit model since I was adviced not to use a fixed effect (i.Year). My panel data consists of 183 municipalities observed from the year 2003 to 2016. (=2562 no of obs)
I used a cmd:
by Municipality: gen Trend=_n
I wonder if this is correct?
Thanks in advance.
Best regards,
Annaliza
Related Posts with Trend variable in a Tobit model
Panel data analysis with AR(1)Hello everyone! I have a panel data for labor productivity for 74 countries for period of 1992-2016…
Filling missing strings/categorical variables in panel data (long format)Hello I am finding a problem to clean my HIV related panel data. I would like to clean HIV status w…
Accounting for Seasonality, 'type mismatch error...'Right now I'm getting a type mismatch error when I generate values for months. I have the data for d…
How to estimate sample size for randomized control trial using simulation?We wanted to test the effect of community level sanitation intervention(CLS) integrated with nutriti…
How to change xtline graphHi All! I have plotted a xtline graph for few entities. The observations between these entities ran…
Subscribe to:
Post Comments (Atom)
0 Response to Trend variable in a Tobit model
Post a Comment