Rolling Regression over Series
Posted: Thu Sep 17, 2015 4:31 pm
Dear Tom,
I have eight variables in each case and three options (lags) for each variable. So together I may have 3^7*2 = 4374 cases (2 is because DEPENDENT variable can only have 2 choices, DEPENDENT{1}, DEPENDENT{2}). Out of 4374 cases, I have to select the model with high R^2 and significant variables. Now, if all three lags of the same variable are insignificant, I have to keep the lag with the lowest p value, even if p>0.05. I cannot drop any varaibles from the model. I have to keep them all. But lags may change.
I looked at your rollreg.src file but it seems that it rolls the regression over time period. Is there any tool that allows to select the most significant lags without dropping all varaibles. STWISE function, does it have any additional option like that?
Thank you.
I have eight variables in each case and three options (lags) for each variable. So together I may have 3^7*2 = 4374 cases (2 is because DEPENDENT variable can only have 2 choices, DEPENDENT{1}, DEPENDENT{2}). Out of 4374 cases, I have to select the model with high R^2 and significant variables. Now, if all three lags of the same variable are insignificant, I have to keep the lag with the lowest p value, even if p>0.05. I cannot drop any varaibles from the model. I have to keep them all. But lags may change.
I looked at your rollreg.src file but it seems that it rolls the regression over time period. Is there any tool that allows to select the most significant lags without dropping all varaibles. STWISE function, does it have any additional option like that?
Thank you.