Apologies if this seems mundane.
I have monthly data on 65 regions and I want to seasonally adjust it using seasonal dummies in Stata. I have two questions:
- If I plan on analyzing the data using
xtreg, fe
and controlling for time fixed effects, how should this be done for monthly data? Is includingi.monthly_date
sufficient to control for seasonality inxtreg, fe
? - If I intend to seasonally adjust the series before running regressions, should I use the predicted residuals or fitted values as the adjusted series? After running
reg x i.monthly_date
, should I usepredict adj_series, residuals
orpredict adj_series, xb
to get the seasonally adjusted values? Additionally, is the regressionreg x i.monthly_date
enough to adjust for seasonality?
I will appreciate any guidance.