| coef-methods | R Documentation |
Coefficients methods coef() for GARCH Models.
Methods for coef defined in package fGarch:
Extractor function for coefficients from a fitted GARCH model.
Extractor function for coefficients from a GARCH specification structure.
coef is a generic function which extracts coefficients
from objects returned by modeling functions.
Diethelm Wuertz for the Rmetrics R-port
# Use default parameters beside alpha:
spec <- garchSpec(model = list(alpha = c(0.05, 0.05)))
spec
coef(spec)
## Simulate an univariate "timeSeries" series from specification 'spec':
x <- garchSim(spec, n = 2000)
x <- x[,1]
fit <- garchFit( ~ garch(1, 1), data = x, trace = FALSE)
coef(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.