confint.KFS | R Documentation |
Extract confidence intervals of the smoothed estimates of states from the
output of KFS
.
## S3 method for class 'KFS'
confint(object, parm = "all", level = 0.95, ...)
object |
An object of class |
parm |
Which states to extract? Either a numeric vector containing
the indices of the corresponding states, or a character vector defining the
types of the corresponding states. Possible choices are
|
level |
The confidence level required. Defaults to 0.95. |
... |
Ignored. |
A list of confidence intervals for each state
model <- SSModel(log(drivers) ~ SSMtrend(1, Q = list(1)) +
SSMseasonal(period = 12, sea.type = "trigonometric") +
log(PetrolPrice) + law, data = Seatbelts, H = 1)
out <- KFS(model)
confint(out, parm = "regression")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.