Ask for help urgently

Dear Professors,
i am a new user of dynare and i am writing my dissertation. i am glad to find such a wonderful tool as dynare for me. but i fail to finish it.
The problem is I just get the following messege from dynare and nothing.

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.

Starting Dynare …
Starting preprocessing of the model file …
101 equation(s) found
Processing derivation …
Processing Order 1… done
Processing outputs …
Preprocessing completed.
Starting Matlab computing …

SOLVE: maxit has been reached

SOLVE: maxit has been reached
Total computing time : 0h00m06s

Could you please help me ?
Because it tells me nothing than that I really don’t know what’s wrong with my model? Is there something wrong with the equations? or something wrong with the initvals?
I really need you help. thanks a lot !!

Regards

Dynare is unable to find you steady state. Put

before the steady command to see the residuals of your equations given your initial values. Try improving the initial values.

Thank you very much for your suggestion.
I find the steady state of the model following your instructions.
And used them as initial values in the model. Finally I get all Irfs.

But I get a WARNING from the command window:

Warning: Aggregate variance and sum of variances by shocks differ by more than 0.01 %

And I have 104 endo variables in the model, but in the oo_. file there only 33 variables can be find in the oo_mean. and oo_var.
The other 71 variables are NaN.
I don’t know where is the problem.
Could give further advises? I appreciate that very much.
Thanks a lot.

Cindy

I did’nt use the steadystate.m file in my model.
I get all the initial value by pencil and put parameters’ initial value vector before model; and the initial values vector of variables after model and simul after that.

Without a mod-file it’s impossible to tell.

Dear Professor,
Thank you very much for your kind help and suggests.
I’ve checked my model and mod-file many times and used the code you posted in the forums to help others diagnose the problem.
Finally, I found my mistakes and problems in the model. I fixed it and it works now.
Thanks again.

Sincerely

Best Regards

Hi ,

After computing the steady state I have the following warning

Warning: Aggregate variance and sum of variances by shocks differ by more than 0.01 %

In th_autocovariances at 180
In disp_th_moments at 37
In stoch_simul at 163
In nonlinearomega at 2033
In dynare at 180

From the literature I know

Variance decomposition is computed relative to the sum of the contribution of each shock. Normally, this is of course equal to aggregate variance, but if a model generates very large variances, it may happen that, due to numerical error, the two differ by a significant amount. Dynare issues a warning if the maximum relative difference between the sum of the contribution of each shock and aggregate variance is larger than 0.01%.

What I suppose to do know in order to get exo_simull and endo_simul results.
My apologies for lack of knowledge and endurance.

Please run the nonlinearomega.mod file from the folder below
dropbox.com/s/aqiwmi46m2c73 … e.zip?dl=0

What exactly is your question? This is a very large model where small inaccuracies can happen.

Many thanks, indeed, for your help.
My question is:
What am I supposed to do in order to avoid in the future the
Warning: Aggregate variance and sum of variances by shocks differ by more than 0.01 % ?

Should I try different initial values for the parameters?

As I said, given the size of your model, you cannot really avoid this. It is a cost you incur for doing linear algebra at double precision on a computer.

1 Like