Skip to content

Model with many variables (about 20) and 4 lags causes error #12

@alexhubbardOD

Description

@alexhubbardOD

Apologies for not being able to provide an example. When trying to estimate a model with a large number of variables (about 20, all differenced for stationarity) 4 lags and steady state prior, the estimation throws an error with message

"error: inv_sympd(): matrix is singular or not positive definite
Error in mcmc_ssng_iw(Y[-(1:n_lags), ], Pi, Sigma, psi, phi_mu, lambda_mu, :
inv_sympd(): matrix is singular or not positive definite"

This error only occurs in version 0.5.1 but 0.4.0. It's likely that there's high correlation among the variables. Is this error appropriate or should the estimation technique be able to handle a large system with highly correlated variables?

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