I have a panel data set with yearly observations of various firms over a period of 5 years. I am running a fixed effects model in Stata using xtreg
. Is it problematic to include a dummy variable for individual years, since I have yearly observations? (I would exclude a reference dummy.)
Here is the Stata code I would be using:
xtreg y x i.year, fe