I have some balanced panel data and want to include trend variable into my regression. However, I have 60 districts in 7 year time period and I am not sure how to include trend variable. Year variable is repetitive as expected and for 2005-2011. I am thinking about the following;
gen t = .
replace t = 1 if year==2005
replace t = 2 if year==2006
up to year 2011 and it gives me t
variable from 1 to 7, for 180 different panels in the data.
My question: is it OK to include trend variable as I described above or should I directly throw year
variable into regression?