Skip to content

matrix multiplication: problem with matrix inverse; suggest to use solve() instead #67

@MicheleCai

Description

@MicheleCai

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions