powered by
residuals computes the exact or conditional residuals.
residuals
# S3 method for um residuals(object, z = NULL, method = c("exact", "cond"), envir = NULL, ...)
An object of class um.
um
an object of class um.
an object of class ts.
ts
exact/conditional residuals.
environment in which the function arguments are evaluated. If NULL the calling environment of this function will be used.
additional arguments.
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