I am trying to perform autoregressive multiple linear regressions using statsmodels (something like y ~ y_1 + X1 + X2
, not ARMA-like).
More specifically, I'm looking for a way to get out of sample results.
When I use the predict method, I get in sample results which means that it uses the previous historical value of the estimated variable instead of the estimated value of the variable.
Thanks for your help.