Recursive OLS estimation?
Posted: Mon Jan 09, 2012 2:12 pm
Hi
I need to make a recursive ols estimation saving SDeviation, coefficients and expected mean.
First, i need to run a ols model from t=0,...,T. Then i must run ols estimations like this
ols from sample 0,...,T-0
ols from sample 0,...,T-1
ols from sample 0,...,T-2
...
ols from sample 0,...,T+1-length(data)
T=length(data)
for !i =1 to length(data) or rowcount (I'm not sure)
eq1.ls gnp c gnp(-1) rate
then i need to store R2, coefficients, SD, mean, and pvalues for each ols estimation generated. I'm a bit lost.
I've read http://forums.eviews.com/viewtopic.php?f=5&t=1638 but i need do the resampling process...that's where i'm stuck.
Thanks for your time and interest.
I need to make a recursive ols estimation saving SDeviation, coefficients and expected mean.
First, i need to run a ols model from t=0,...,T. Then i must run ols estimations like this
ols from sample 0,...,T-0
ols from sample 0,...,T-1
ols from sample 0,...,T-2
...
ols from sample 0,...,T+1-length(data)
T=length(data)
for !i =1 to length(data) or rowcount (I'm not sure)
eq1.ls gnp c gnp(-1) rate
then i need to store R2, coefficients, SD, mean, and pvalues for each ols estimation generated. I'm a bit lost.
I've read http://forums.eviews.com/viewtopic.php?f=5&t=1638 but i need do the resampling process...that's where i'm stuck.
Thanks for your time and interest.