Slow Least Squares Estimation Due to Lags
Posted: Fri Aug 16, 2013 4:35 am
My apologies if this topic has been covered before, but I cannot seem to find it anywhere on or off the forum. I am running EViews 8, but have also tried this on EViews 7.
In various contexts I want to estimate many equations and their lags, so for example I want to try the same equation with one lag, two lags, etc using basic least squares. For example:
eq.ls gdp gdp(-1) oilp(-1)
and
eq.ls gdp gdp(-1) gdp(-2) oilp(-1) oilp(-2)
what I am finding is that the specification with two lags above runs much faster than the following (which I am currently using in various loops):
eq.ls gdp gdp(-1 to -2) oilp(-1 to -2)
I can post my code if you like, but was hoping there was a previous thread I have not seen that addresses this issue. Any other help on why the final specification might be so slow would be appreciated. Thanks.
In various contexts I want to estimate many equations and their lags, so for example I want to try the same equation with one lag, two lags, etc using basic least squares. For example:
eq.ls gdp gdp(-1) oilp(-1)
and
eq.ls gdp gdp(-1) gdp(-2) oilp(-1) oilp(-2)
what I am finding is that the specification with two lags above runs much faster than the following (which I am currently using in various loops):
eq.ls gdp gdp(-1 to -2) oilp(-1 to -2)
I can post my code if you like, but was hoping there was a previous thread I have not seen that addresses this issue. Any other help on why the final specification might be so slow would be appreciated. Thanks.