The steady state contains NaN or Inf.

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.

The steady state contains NaN or Inf.

Postby sargis1991 » Mon Nov 16, 2015 3:46 pm

Dear all,

I am building a small open economy DSGE model for monetary and fiscal policy interactions. I have an NAN errors in my model which I can not solve even changing the parameters as the instructions tell me. Please, could you give me an advice how to solve this problem. I am attaching also the mod. file. After running you will see that there are errors in the 17-21 equations. Even changing the 18-21 equations to AR(1) processes, the problem occurs in the 17th. Thank you very much beforehand.

Best Regards

Sargis
Attachments
Paper2.mod
(5.37 KiB) Downloaded 203 times
sargis1991
 
Posts: 3
Joined: Mon Nov 16, 2015 3:30 pm

Re: The steady state contains NaN or Inf.

Postby jpfeifer » Mon Nov 16, 2015 6:05 pm

You forgot to set
Code: Select all
delta1
------------
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: The steady state contains NaN or Inf.

Postby sargis1991 » Mon Nov 16, 2015 9:09 pm

jpfeifer wrote:You forgot to set
Code: Select all
delta1


Dear jpfeifer,

delta1 is there in the Parameters part last component of the second line and in the calibration part it is equal to 2.


Best Regards

Sargis
sargis1991
 
Posts: 3
Joined: Mon Nov 16, 2015 3:30 pm

Re: The steady state contains NaN or Inf.

Postby jpfeifer » Tue Nov 17, 2015 8:54 am

No, you are setting dleta1, not delta1. Correct the typo.
------------
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: The steady state contains NaN or Inf.

Postby sargis1991 » Tue Nov 17, 2015 10:15 am

jpfeifer wrote:No, you are setting dleta1, not delta1. Correct the typo.


Dear jpfeifer,

Even correcting that typo, still I have Nan or Inf Error.
sargis1991
 
Posts: 3
Joined: Mon Nov 16, 2015 3:30 pm

Re: The steady state contains NaN or Inf.

Postby jpfeifer » Tue Nov 17, 2015 1:45 pm

That cannot be. See the attached file.
Attachments
Paper2.mod
(5.37 KiB) Downloaded 216 times
------------
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 contributions and examples

Who is online

Users browsing this forum: No registered users and 1 guest