Learn R Programming

tfarima (version 0.1.1)

predict.tfm: Forecasting with transfer function models

Description

predict computes point and interval predictions for a time series based on a tfm object.

Usage

# S3 method for tfm
predict(object, y = NULL, ori = NULL, n.ahead = NULL, level = 0.95, ...)

Arguments

object

an object of class um.

y

an object of class ts.

ori

the origin of prediction. By default, it is the last observation.

n.ahead

number of steps ahead.

level

confidence level.

...

additional arguments.