Learn R Programming

segMGarch (version 1.3)

pc_cccsim-class: A method to simulate nonstationary high-dimensional CCC GARCH models.

Description

A S4 method that takes as an input a simMGarch object and outputs a simulated nonstationary CCC model. The formulation of the of the piecewise constant CCC model is given in the simMGarch class.

Usage

pc_cccsim(object)

# S4 method for simMGarch pc_cccsim(object)

Arguments

object

a simMGarch object

References

Cho, H. and Korkas, K.K., 2022. High-dimensional GARCH process segmentation with an application to Value-at-Risk. Econometrics and Statistics, 23, pp.187-203.

Examples

Run this code
pw.CCC.obj <- new("simMGarch")
pw.CCC.obj <- pc_cccsim(pw.CCC.obj)
par(mfrow=c(1,2))
ts.plot(pw.CCC.obj@y[1,],main="a single simulated time series",ylab="series")
ts.plot(pw.CCC.obj@h[1,],main="a single simulated conditional variance",ylab="variance")

Run the code above in your browser using DataLab