simMGarch-class {segMGarch} | R Documentation |
An S4 class for a nonstationary CCC model.
Description
A specification class to create an object of a simulated piecewise constant conditional correlation (CCC) model
denoted by ,
with
where
.
In this package, we assume a piecewise constant CCC with
.
Slots
y
The
time series.
cor_errors
The
matrix of the errors.
h
The
matrix of the time-varying variances.
n
Size of the time series.
d
The number of variables (assets).
r
A sparsity parameter to conrol the impact of changepoint across the series.
multp
A parameter to control the covariance of errors.
changepoints
The vector with the location of the changepoints.
pw
A logical parameter to allow for changepoints in the error covariance matrix.
a0
The vector of the parameters a0 in the individual GARCH processes denoted by
in the above formula.
a1
The vector of the parameters a1 in the individual GARCH processes denoted by
in the above formula.
b1
The vector of the parameters b1 in the individual GARCH processes denoted by
in the above formula.
BurnIn
The size of the burn-in sample. Note that this only applies at the first simulated segment. Default is 50.
References
Cho, Haeran, and Karolos Korkas. "High-dimensional GARCH process segmentation with an application to Value-at-Risk." arXiv preprint arXiv:1706.01155 (2017).
Examples
pw.CCC.obj <- new("simMGarch")
pw.CCC.obj <- pc_cccsim(pw.CCC.obj)
par(mfrow=c(2,2))
ts.plot(pw.CCC.obj@y[1,]);ts.plot(pw.CCC.obj@y[2,])
ts.plot(pw.CCC.obj@h[1,]);ts.plot(pw.CCC.obj@h[1,])