garchExtractors {fGarch}R Documentation

GARCH Extractor Functions

Description

Extracts residuals and fitted values from a fitted GARCH object.

Usage

## S3 method for class 'fGARCH':
residuals(object, ...)
## S3 method for class 'fGARCH':
fitted(object, ...)

Arguments

object an object of class fGARCH as returned from the function garchFit().
... additional arguments to be passed.

Author(s)

Diethelm Wuertz for the Rmetrics R-port.

Examples

## garchSpec -
   spec = garchSpec()
   spec

## garchSim -
   x = garchSim(model = spec@model, n = 500)
   head(x) 

## garchFit - 
   # fit = garchFit(~garch(1, 1), data = x)
   # print(fit)
   ## Interactive Plot:
   ## plot(fit)
   ## Batch Plot:
   # plot(fit, which = 3)
   # summary(fit)

[Package fGarch version 260.72 Index]