# Occbin\_estimation: BK conditions are not satisfied

**URL:** <https://forum.dynare.org/t/occbin-estimation-bk-conditions-are-not-satisfied/20721>\
**Category:** Occbin\
**Created:** [13 July 2022 07:47 UTC](https://forum.dynare.org/t/occbin-estimation-bk-conditions-are-not-satisfied/20721 "2022-07-13T07:47:37Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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:** [2 August 2022 13:07 UTC](https://forum.dynare.org/t/occbin-estimation-bk-conditions-are-not-satisfied/20721/16 "2022-08-02T13:07:41Z")

</div>

1. Does a normal OccBin simulation work in your model? If yes, you may not have correct set all the options for estimation.
2. Usually, the problem with periodic solutions is with the specification. See

> [@Occbin: "increase maxit or check\_ahead\_periods" with very high maxit and check\_ahead\_periods](https://forum.dynare.org/t/occbin-increase-maxit-or-check-ahead-periods-with-very-high-maxit-and-check-ahead-periods/20245/7):
>
> Part of the problem is a bug that will crash Occbin whenever something goes wrong. See [Provide error handling to piece-wise linear Kalman filter (#1854) · Issues · Dynare / dynare · GitLab](https://git.dynare.org/Dynare/dynare/-/issues/1854) The other issue is your specification. You had occbin\_constraints; name 'ELB'; bind iT - 1e-06\*vr\_s1\*Ups \< 0.001247663; relax iT - 1e-06\*vr\_s1\*Ups \> 0.001247663; end; So the ZLB exactly binding will fall between the two regimes, creating oscillations. Using % load OccBin occbin\_constraints; name…

---

_[View the full topic](https://forum.dynare.org/t/occbin-estimation-bk-conditions-are-not-satisfied/20721)._
