Dynare not generating results

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.

Dynare not generating results

Postby S_V » Tue Nov 15, 2016 11:47 am

Dear All,

My code is not running and I have no idea why. I keep getting the message 'configuring Dynare' and what seems like some program activity but no results are generated. Can anyone please tell me why this may be happening? Please find my code attached.

Thanks!
Attachments
modeldynare_forum.mod
(4.25 KiB) Downloaded 61 times
S_V
 
Posts: 26
Joined: Tue Nov 15, 2016 11:38 am

Re: Dynare not generating results

Postby jpfeifer » Tue Nov 15, 2016 12:49 pm

Did you maybe name your mod-file "dynare.mod"?
------------
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: Dynare not generating results

Postby S_V » Wed Nov 16, 2016 6:14 pm

Dear Dr. Pfeifer,

Many thanks for your prompt reply. I figured out what was wrong based on your response. It was related to the naming of the files.

I have done a bit more work since then and I am still experiencing troubles unfortunately.

Dynare is unable to find the steady state, and I think it may be based on my guess values and equations. I was wondering what the next best option was as opposed to giving actual values? I am trying to replicate existing results from the model with the least number of equations. The authors seem to use fsolve for the steady state of some of the variables. I'm not sure whether this is feasible with Dynare, i.e., fsolve for some variables and equations for others?

Please find the mod-file attached.


Many thanks.
Attachments
CFmodeldynare_forum2.mod
(7.26 KiB) Downloaded 64 times
S_V
 
Posts: 26
Joined: Tue Nov 15, 2016 11:38 am

Re: Dynare not generating results

Postby jpfeifer » Wed Nov 16, 2016 7:47 pm

The problem with finding a steady state is often not with the actual steady state finding, but rather that often the underlying equations are still entered incorrectly so that no steady state exists. In that case, Dynare will of course be unable to find a steady state.
You should thus try to check the equations with the biggest residuals. Often there are still mistakes. Moreover, it is usually best to start with a model not already with exp() substitution, because a missing exp() somewhere will make steady state finding not work correctly.
To answer your initial question: using a steady state file as in the NK_baseline.mod in the Dynare examples folder allows to call fsolve.
------------
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: Dynare not generating results

Postby S_V » Wed Nov 16, 2016 8:16 pm

Thank you so much Dr. Pfeifer.
S_V
 
Posts: 26
Joined: Tue Nov 15, 2016 11:38 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests