Dear friends,

I have 5 exogenous variables which I´d like to incorporate into my
auto.arima model.

I was able to incorporate the xreg, and I understand that newxreg should be
the forecast of my exogenous variables, but I have not been able to get it
to work.

Newxreg should only have one column? Should newxreg have the same number of
rows of the training data?

This is the error I keep getting but I don´t quite understand:

Error in forecast.Arima(ModelAfit, h = 12, newxreg = NewXreg) :
  No regressors provided
In addition: Warning message:
In forecast.Arima(ModelAfit, h = 12, newxreg = NewXreg) :
  The non-existent newxreg arguments will be ignored.

Any help will be greatly appreciated,

Best regards,

Paul

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to