[R-SIG-Finance] Error found - [Perfect out-of-sample-fit in a model containing a lagged dependent variable?]

Gero Schwenk gero.schwenk at web.de
Thu Oct 15 22:32:10 CEST 2009


Hi there!
Thanks for helping! Patrick was right: I predicted the future by knowing 
the future. The lag-operator is not applied to the model-data's 
dataframe for reasons I'll find out. In effect the model is not Y ~ 
lag(Y) + lag(X1) + lag(X2) but Y ~ Y + lag(X1) + lag(X2)...

Thanks again + good night:
Gero



More information about the R-SIG-Finance mailing list