Drop insignificant variables and reeestimate equation
Posted: Fri Sep 02, 2011 8:50 am
Hello,
I am running a loop that estimates an equation for each of 29 series. Amongst the regressors are 12 seasonal dummies(@seas) since I am working with non-seasonally adjusted monthly data. Having estimates these equations, I would like to write some code that drops those seasonal dummies in each equation that are not statistically significant, and re estimates the equations accordingly.
Any guidance would be appreciated. At the moment I'm not sure what sort of commands I should be looking in to.
I am running a loop that estimates an equation for each of 29 series. Amongst the regressors are 12 seasonal dummies(@seas) since I am working with non-seasonally adjusted monthly data. Having estimates these equations, I would like to write some code that drops those seasonal dummies in each equation that are not statistically significant, and re estimates the equations accordingly.
Any guidance would be appreciated. At the moment I'm not sure what sort of commands I should be looking in to.