# Error: chol: input matrix must be positive definite

**URL:** https://forum.dynare.org/t/error-chol-input-matrix-must-be-positive-definite/3194
**Category:** Dynare help (legacy posts)
**Created:** [26 May 2013 16:55 UTC](https://forum.dynare.org/t/error-chol-input-matrix-must-be-positive-definite/3194 "2013-05-26T16:55:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pfb](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@pfb](https://forum.dynare.org/u/pfb)
#### Post date: [26 May 2013 16:55 UTC](https://forum.dynare.org/t/error-chol-input-matrix-must-be-positive-definite/3194/1 "2013-05-26T16:55:02Z")

</div>

[i41.tinypic.com/2r7ssus.jpg](http://i41.tinypic.com/2r7ssus.jpg)

Can someone explain how to cope with this kind of problem?

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [27 May 2013 21:37 UTC](https://forum.dynare.org/t/error-chol-input-matrix-must-be-positive-definite/3194/2 "2013-05-27T21:37:52Z")

</div>

Try a longer run of mode\_compute=6, try mode\_compute=9. Check whether the data matches the model (observation equation). Use stronger priors.
