# Error messages, please help me!

**URL:** https://forum.dynare.org/t/error-messages-please-help-me/323
**Category:** Dynare help (legacy posts)
**Created:** [24 April 2007 04:12 UTC](https://forum.dynare.org/t/error-messages-please-help-me/323 "2007-04-24T04:12:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://forum.dynare.org/uploads/default/original/2X/8/8c31d20077f015ac0c48df5777b4fc49531c21e8.png) [@system](https://forum.dynare.org/u/system)
#### Post date: [24 April 2007 04:12 UTC](https://forum.dynare.org/t/error-messages-please-help-me/323/1 "2007-04-24T04:12:15Z")

</div>

Hello!

I’m studying DSGE model with sticky price and wage.

but matlab shows me warning and error messages below.

Could you help me?

Sorry, bothering you

And Sorry for my poor English.

Thank you for your kindness.

Warning: Divide by zero.

> In lnsrch1 at 62  
> In solve1 at 87  
> In dynare\_solve at 73  
> In steady\_ at 23  
> In steady at 7  
> In sw2 at 212  
> In dynare at 26  
> Warning: Divide by zero.  
> In lnsrch1 at 63  
> In solve1 at 87  
> In dynare\_solve at 73  
> In steady\_ at 23  
> In steady at 7  
> In sw2 at 212  
> In dynare at 26

SOLVE: maxit has been reached  
??? Error using ==\> steady\_  
STEADY: convergence problems

Error in ==\> steady at 7  
steady\_;

Error in ==\> sw2 at 212  
steady(0);

Error in ==\> dynare at 26  
evalin(‘base’,fname) ;

---

<div class="post-metadata">

### Author: ![bigbigben](https://forum.dynare.org/letter_avatar_proxy/v4/letter/b/eb8c5e/32.png) [@bigbigben](https://forum.dynare.org/u/bigbigben)
#### Post date: [25 April 2007 04:00 UTC](https://forum.dynare.org/t/error-messages-please-help-me/323/2 "2007-04-25T04:00:07Z")

</div>

If you didn’t specify the initial value, 0 is default and it cause some problem. For example, the value of denominator is 0 somewhere mentioned in your message. My suggestion is to pick some reasonable initial guess beforehand

---

<div class="post-metadata">

### Author: ![system](https://forum.dynare.org/uploads/default/original/2X/8/8c31d20077f015ac0c48df5777b4fc49531c21e8.png) [@system](https://forum.dynare.org/u/system)
#### Post date: [25 April 2007 05:32 UTC](https://forum.dynare.org/t/error-messages-please-help-me/323/3 "2007-04-25T05:32:51Z")

</div>

> [@bigbigben](#):
>
> If you didn’t specify the initial value, 0 is default and it cause some problem. For example, the value of denominator is 0 somewhere mentioned in your message. My suggestion is to pick some reasonable initial guess beforehand

Thank you.

It doesn’t show me warning messages.

but…

Could you explain dynare error ‘STEADY: convergence problems’?

Dynare isn’t working yet.

??? Error using ==\> steady\_  
STEADY: convergence problems

Error in ==\> steady at 7  
steady\_;

Error in ==\> sw3 at 212  
steady(0);

Error in ==\> dynare at 26  
evalin(‘base’,fname) ;

---

<div class="post-metadata">

### Author: ![bigbigben](https://forum.dynare.org/letter_avatar_proxy/v4/letter/b/eb8c5e/32.png) [@bigbigben](https://forum.dynare.org/u/bigbigben)
#### Post date: [25 April 2007 12:14 UTC](https://forum.dynare.org/t/error-messages-please-help-me/323/4 "2007-04-25T12:14:17Z")

</div>

That means the solution algorithm can’t reach a stable steady state from the initial value you specified.
