ask for help urgently

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

ask for help urgently

Postby phoezy » Fri Feb 15, 2013 3:50 am

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
phoezy
 
Posts: 6
Joined: Fri Feb 15, 2013 3:30 am

Re: ask for help urgently

Postby jpfeifer » Mon Feb 18, 2013 4:00 pm

Dynare is unable to find you steady state. Put
Code: Select all
resid(1);

before the steady command to see the residuals of your equations given your initial values. Try improving the initial values.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: ask for help urgently

Postby phoezy » Thu Feb 21, 2013 2:38 pm

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
phoezy
 
Posts: 6
Joined: Fri Feb 15, 2013 3:30 am

Re: ask for help urgently

Postby phoezy » Thu Feb 21, 2013 2:44 pm

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.
phoezy
 
Posts: 6
Joined: Fri Feb 15, 2013 3:30 am

Re: ask for help urgently

Postby jpfeifer » Fri Feb 22, 2013 7:44 am

Without a mod-file it's impossible to tell.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: ask for help urgently

Postby phoezy » Sun Feb 24, 2013 1:24 pm

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
phoezy
 
Posts: 6
Joined: Fri Feb 15, 2013 3:30 am

Re: ask for help urgently

Postby Oriana » Sun Jan 11, 2015 3:13 pm

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
https://www.dropbox.com/s/aqiwmi46m2c73 ... e.zip?dl=0
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: ask for help urgently

Postby jpfeifer » Mon Jan 12, 2015 8:09 pm

What exactly is your question? This is a very large model where small inaccuracies can happen.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: ask for help urgently

Postby Oriana » Mon Jan 12, 2015 11:33 pm

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?
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: ask for help urgently

Postby jpfeifer » Thu Jan 15, 2015 8:36 am

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests