bwidth,deseats-method | R Documentation |
If either deseats
or s_semiarma
are
used to fit a model to time series data, this method retrieves
the applied bandwidth from the output object.
## S4 method for signature 'deseats'
bwidth(object)
## S4 method for signature 's_semiarma'
bwidth(object)
object |
an object either of class |
When applying deseats
or link{s_semiarma}
,
one approach is to let the functions automatically choose a
bandwidth for locally weighted regression. Using this method,
the applied bandwidth can be retrieved.
A numeric vector of length one that represents the bandwidth used in the smoothing procedure is returned.
Xt <- log(EXPENDITURES)
smoothing_options <- set_options(order_poly = 3)
est <- deseats(Xt, smoothing_options = smoothing_options)
bwidth(est)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.