Hello everyone,


I would like to add a trend variable (instead of using i.Year) in my Tobit model. I have a panel data with 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?




Best regards,

Annaliza