Learn R Programming

fGarch (version 290.76)

coef-methods: GARCH Coefficients Methods

Description

Coefficients methods for GARCH Modelling.

Arguments

Examples

Run this code
## garchSpec -
   # Use default parameters beside alpha:
   spec = garchSpec(model = list(alpha = c(0.05, 0.05)))
   spec
   coef(spec)
   
## garchSim -
   # Simulate an univariate "timeSeries" series
   x = garchSim(spec, n = 200)
   x = x[,1]
  
## garchFit - 
   fit = garchFit( ~ garch(1, 1), data = x)
   
## coef - 
   coef(fit)

Run the code above in your browser using DataLab