Hello all,
I use arima to fit the model with
fit <- arima(y, order = c(1,0,1), xreg = list.indep, include.mean = TRUE)
and would like to use predict() to forecast:
chn.forecast <- rep(0,times=num.record)
chn.forecast[1] <- y[1]
for (j in 2:num.record){
indep
I found the same annoying warning, but I ignore it, as you said it's not use
at all. The error (at least for me) is in the line
class(xreg) <- NULL
This makes xreg a list, so you cannot apply cbindmaybe they will fix
that some time in the future (you can always recompile the code)
Huber
When I run predict.Arima in my code, I get warnings like:
Warning message:
In cbind(intercept = rep(1, n), xreg) :
number of rows of result is not a multiple of vector length (arg 1)
I think this is because I'm not running predict.Arima in the same
environment that I did the fit, so the d
On Sat, 8 Sep 2007, shao ran wrote:
> Hi *,
>
> Firstly, thank you so much for your time to read my email.
>
> I am currently interested in how to use R to predict time series from
> models fitted by ARIMA. The package I used is basic stats package, and the
> method I used is predict.Arima.
>
> Wh
4 matches
Mail list logo