predict.Arima.sarima.for(xdata, n.ahead, p, d, q, P = 0, D = 0, Q = 0, S = -1,
tol = sqrt(.Machine$double.eps), no.constant = FALSE)sqrt(.Machine$double.eps), the R default.sarima.for(x,5,1,0,1) will forecast five time points ahead for an ARMA(1,1) fit to x. The output prints the forecasts and the standard errors of the forecasts, and supplies a graphic of the forecast with +/- 2 prediction error bounds.sarima.for(log(AirPassengers),12,0,1,1,0,1,1,12)Run the code above in your browser using DataLab