Page 1 of 1

The steady state contains NaN or Inf.

PostPosted: Mon Nov 16, 2015 3:46 pm
by sargis1991
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

Re: The steady state contains NaN or Inf.

PostPosted: Mon Nov 16, 2015 6:05 pm
by jpfeifer
You forgot to set
Code: Select all
delta1

Re: The steady state contains NaN or Inf.

PostPosted: Mon Nov 16, 2015 9:09 pm
by sargis1991
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

Re: The steady state contains NaN or Inf.

PostPosted: Tue Nov 17, 2015 8:54 am
by jpfeifer
No, you are setting dleta1, not delta1. Correct the typo.

Re: The steady state contains NaN or Inf.

PostPosted: Tue Nov 17, 2015 10:15 am
by sargis1991
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.

Re: The steady state contains NaN or Inf.

PostPosted: Tue Nov 17, 2015 1:45 pm
by jpfeifer
That cannot be. See the attached file.