fitted,fEGarch_fit-method | R Documentation |
An alternative to cmeans,fEGarch_fit-method
to extract
fitted conditional means from an estimation object
in this package.
## S4 method for signature 'fEGarch_fit'
fitted(object)
## S4 method for signature 'fEGarch_forecast'
fitted(object)
object |
an object either of class |
Extract fitted conditional means from an estimation object in this package.
The element within the input object with name cmeans
is returned.
Depending on the element that can be a numeric vector, an object of
class "zoo" or a numeric matrix.
window.zoo <- get("window.zoo", envir = asNamespace("zoo"))
rt <- window.zoo(SP500, end = "2002-12-31")
model <- fEGarch(egarch_spec(), rt, n_test = 250)
fitted(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.