Re: [R] predict.Arima question

From: Prof Brian Ripley <>
Date: Thu 19 Oct 2006 - 16:11:59 GMT

On Thu, 19 Oct 2006, Felipe Santos wrote:

> Hi,
> I am trying to forecast a model using predict.Arima
> I found arima model for a data set: x={x1,x2,x3,...,x(t)}
> arima_model = arima(x,order=c(1,0,1))
> I am forecasting the next N lags using predict:
> arima_pred = predict(arima_model,n.ahead = N,
> If I have one more point in my series, let's say x(t+1). I do not want to
> recalibrate themodel, I just want to forecast the next N-1 lags using the
> same model for x={x1,x2,...x(t)} but without recalibrate arima.
> How to do it using arima + predict.Arima ?

The short answer is that you cannot. However, these are built on top of a Kalman filter implementation, and you could use the underlying C code. It would be easier to make use of a modification of predict.arima0, though.


Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Oct 20 10:50:01 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 20 Oct 2006 - 01:30:11 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.