I am dealing with monthly data on electricity production for two countries, and I need to deseasonalise it. So far I have created a variable for each month and I have regressed the variable on the month ( i am doing it for each country). After I use the predict function....is it correct ??
This is what I am doing :
regress hydro Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec if countrynum == 2
predict hydroG if countrynum == 2, resid
This is what I am doing :
regress hydro Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec if countrynum == 2
predict hydroG if countrynum == 2, resid
Comment