Computes exact or conditional residuals from a fitted transfer function model.
# S3 method for tfm
residuals(
object,
y = NULL,
method = c("exact", "cond"),
envir = parent.frame(),
...
)A ts object containing model residuals with the same
time series attributes as the output series.
A fitted tfm object.
Optional ts object for alternative output series.
Character: "exact" estimates presample values to compute residuals; "cond" fixes presample values at zero.
Environment for evaluation. NULL uses calling environment.
Currently unused.