Learn R Programming

tfarima (version 0.1.1)

residuals.um: Residuals of the ARIMA model

Description

residuals computes the exact or conditional residuals.

Usage

# S3 method for um
residuals(object, z = NULL, method = c("exact", "cond"), ...)

Arguments

object

an object of class um.

z

an object of class ts.

method

exact/conditional residuals.

...

additional arguments.

Value

An object of class um.

Examples

Run this code
# NOT RUN {
z <- AirPassengers
airl <- um(z, i = list(1, c(1, 12)), ma = list(1, c(1, 12)), bc = TRUE)
r <- residuals(airl)
summary(r)
# }

Run the code above in your browser using DataLab