| diagchk.ssm | R Documentation |
For objects of class ucarima, this method calls diagchk.um
internally to perform diagnostic checking.
diagchk displays tools for diagnostic checking.
## S3 method for class 'ssm'
diagchk(mdl, lag.max = NULL, lags.at = NULL, freq.at = NULL, std = TRUE, ...)
## S3 method for class 'ucarima'
diagchk(mdl, ...)
diagchk(mdl, ...)
## S3 method for class 'um'
diagchk(
mdl,
z = NULL,
method = c("exact", "cond"),
lag.max = NULL,
lags.at = NULL,
freq.at = NULL,
std = TRUE,
envir = NULL,
...
)
mdl |
an object of class |
lag.max |
integer; maximum number of lags for ACF/PACF. |
lags.at |
numeric vector; specific lags in ACF/PACF plots. |
freq.at |
numeric vector; specific frequencies in (cum) periodogram plot. |
std |
logical; if TRUE standardized residuals are used. |
... |
additional arguments. |
z |
optional, an object of class |
method |
character; "exact" or "conditional" residuals. |
envir |
environment in which the function arguments are evaluated. If NULL the calling environment of this function will be used. |
# Local level model
b <- 1
C <- as.matrix(1)
ssm1 <- ssm(Nile, b, C, S = diag(c(irr = 15127.7, lvl = 1453.2)))
diagchk(ssm1)
z <- AirPassengers
airl <- um(z, i = list(1, c(1,12)), ma = list(1, c(1,12)), bc = TRUE)
diagchk(airl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.