Here is the code:

  Y=mydata

  X=cbind(1:length(dY))

  results=auto.arima(dY, xreg=dX)

  Of course I could first do a linear regression external to auto.arima,
and then combine the forecasts from both of the linear regression part and
the residual arima part...

But it would be great if the "auto.arima" can directly handle these for me
with "xreg"...

Any thoughts?

Thanks a lot!



On Sun, Dec 25, 2011 at 5:56 PM, Michael <comtech....@gmail.com> wrote:

> Happy holidays!
>
> Could you please help with the error message "No regressors provided" when
> using "auto.arima"?
>
> What could have happened?
>
> Thanks a lot!
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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