problem with discretionary policy only

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.

problem with discretionary policy only

Postby nk178 » Wed May 20, 2015 7:16 pm

Hi all,

I am trying to compute the optimal monetary policy for a New Keynesian model with financial frictions. I derive the objective (loss) function by taking a second order approximation of households utility.

Dynare shows no errors when I compute the stochastic simulations and the Ramsey policy (I have avoid the standard mistake of command steady; on Ramsey policy)

BUT errors appear only when I compute the discretionary policy. Particularly, I get the message:

Error using print_info (line 117)
Discretionary policy: NaN elements are present in the solution. Procedure failed.

Some useful remarks:
1) I understand that under discretionary policy, the objective function must be purely quadratic. In my model the objective function it involves terms in square, like x^2 but also correlation of variables, like x*y. Is this the problem? All terms must be in the form of x^2 ? If this is the case, then can you suggest anything about how to solve under discretion when I have terms like x*y ?

2) I run the model_diagnostics but it doesn't give back anything! (so it seems that there is not obvious error?)

Thank you very much in advance.
nk178
 
Posts: 32
Joined: Sat May 24, 2014 1:05 pm

Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 4 guests