Hi,professor! There is a probelm in finding steady state. I can’t find out what’s wrong? Could you help me to see what the cause of the errow was? It is the setting of the parameters or the equation itself that is the problem. Thank you !

dsge.mod (6.0 KB)

Untitled.m (2.2 KB)

Check your computations. You have e.g.

```
ZGs = 4.3520e+151
```

Professor, thank you for your guidance. I’ve recalculated the model, but I’ve run into a new problem. First, the residual of equation two is not 0, but I think there is no problem with my calculation. Second, there is Inf, I have checked that the denominators in the expression have been given initial values, so I would like to ask you where the problem is

dsge.mod (6.0 KB)

Untitled.m (1.8 KB)

Check your initial value computations. `dcs`

for example is complex.

Thank you prifessor. I have recalculated the equation,but a new problem has arisen. As a newbie, I don’t konw how to modify it. Could you tell me teh cause of this problem and in which direction should I modify. Thanks again.

dsge.mod (6.2 KB)

Untitled.m (2.5 KB)

Only do the exp()-substitution once the model works. Or better, append auxiliary variables.

Hi professor. I have encountered a new problem, is my calculation wrong? Still the parameters are not set correctly.

Untitled.m (2.7 KB)

dsge1.mod (5.7 KB)

As the message states:

```
resid: The initial values for the steady state of the following variables are complex:
Lb
Bh
```

Those initial values are negative before you take the log.