pred.arima {predtoolsTS}R Documentation

Predicts for ARIMA

Description

Performs predictions over an ARIMA model using the stats::predict function.

Usage

pred.arima(model, n.ahead)

Arguments

model

An ARIMA model.

n.ahead

Number of values to predict.

Value

A ts object containing the predictions.

Author(s)

Alberto Vico Moreno

Examples

pred.arima(forecast::auto.arima(prep(AirPassengers)$tserie),n.ahead=30)

[Package predtoolsTS version 0.1.1 Index]