Learn R Programming

tfarima (version 0.4.1)

residuals.ucarima: Residuals of fitted UCARIMA models

Description

residuals.ucarima generates the residuals of a fitted ucarima object.

Usage

# S3 method for ucarima
residuals(object, method = c("exact", "cond"), ...)

Value

A ts object containing the residuals of the SSM.

Arguments

object

an object of class ucarima.

method

character. Either "exact" or "conditional" residuals.

...

additional arguments.

Details

These residuals are calculated by first converting the ucarima object to a um object and then using the residuals.um function.