Learn R Programming

tfarima (version 0.1.1)

residuals.tfm: Residuals of a transfer function model

Description

residuals computes the exact or conditional residuals of a TF model.

Usage

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

Arguments

object

a tfm object.

y

output of the TF model (if it is different to that of the "tfm" object).

method

a character string specifying the method to compute the residuals, exact or conditional.

...

additional arguments.

Value

A "ts" object.