Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parametric VAR salvaging covariance matrix #262

Open
rkapl123 opened this issue Aug 10, 2024 · 0 comments
Open

parametric VAR salvaging covariance matrix #262

rkapl123 opened this issue Aug 10, 2024 · 0 comments

Comments

@rkapl123
Copy link
Contributor

When running the parametric VAR with a covariance file that I produced with https://github.com/rkapl123/Tools/tree/main/VarInput I receive an error:
ALERT [2024-Aug-10 15:57:36.970337] (OREAnalytics\orea\app\oreapp.cpp:303) : Error in ORE analytics: ParametricVar: input covariance matrix is not positive semi-definite, smallest eigenvalue is -0.000163759

If I now set <Parameter name="salvageCovarianceMatrix">Y</Parameter> (hoping to get around the problem), this error still occurs with the same smallest eigenvalue (so the salvaging probably didn't run):
ALERT [2024-Aug-10 15:50:36.123428] (OREAnalytics\orea\app\oreapp.cpp:303) : Error in ORE analytics: ParametricVar: input covariance matrix is not positive semi-definite, smallest eigenvalue is -0.000163759

I also observed that the getter for this is never being called...

    /*****************
     * Getters for VaR
     *****************/
    bool salvageCovariance() const { return salvageCovariance_; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant