I have some problem with the code :
ms2.garch <- CreateSpec(variance.spec = list(model =c("eGARCH")),
distribution.spec = list(distribution = c("ged")),
switch.spec = list(do.mix=FALSE,K=2))
set.seed(12345)
fit.mcmc=FitMCMC(ms2.garch,data = z)
error: matrix multiplication: problem with matrix inverse; suggest to use solve() instead
Error in f_RCPP_adaptMCMC(theta0 = par0, acc_rate = 0.25, sigma = diag(length(par0)), :
Evaluation error: matrix multiplication: problem with matrix inverse; suggest to use solve() instead.
Can you help me solve the problem?