| simMGarch-class {segMGarch} | R Documentation |
A specification class to create an object of a simulated piecewise constant conditional correlation (CCC) model denoted by r_t = (r_{1, t}, …, r_{n, t})^T, t=1, …, n with r_{i, t}= √{h_{i, t}}ε_{i, t} where h_{i, t}= ω_i(t) + ∑_{j=1}^p α_{i, j}(t)r_{i, t-j}^2 + ∑_{k=1}^q β_{i, k}(t)h_{i, t-k}. In this package, we assume a piecewise constant CCC with p=q=1.
yThe n \times d time series.
cor_errorsThe n \times d matrix of the errors.
hThe n \times d matrix of the time-varying variances.
nSize of the time series.
dThe number of variables (assets).
rA sparsity parameter to conrol the impact of changepoint across the series.
multpA parameter to control the covariance of errors.
changepointsThe vector with the location of the changepoints.
pwA logical parameter to allow for changepoints in the error covariance matrix.
a0The vector of the parameters a0 in the individual GARCH processes denoted by ω_i(t) in the above formula.
a1The vector of the parameters a1 in the individual GARCH processes denoted by α_i(t) in the above formula.
b1The vector of the parameters b1 in the individual GARCH processes denoted by β_i(t) in the above formula.
BurnInThe size of the burn-in sample. Note that this only applies at the first simulated segment. Default is 50.
Cho, Haeran, and Karolos Korkas. "High-dimensional GARCH process segmentation with an application to Value-at-Risk." arXiv preprint arXiv:1706.01155 (2017).
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,])