Implementing ZLB with deterministic simulation

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.

Implementing ZLB with deterministic simulation

Postby Palumenis » Fri Feb 14, 2014 5:37 pm

Dear all,

I have a problem setting up my model with a ZLB constraint on interest rates. If I run a deterministic simulation without constraints there is an initial drop of the interest rate to -3%. When I implement it with the ZLB there is a warning:
Warning: Matrix is singular to working precision.
> In sim1 at 133
In simul at 108
In real_only_g_ZLB at 248
In dynare at 120

When I manually set the interest rate in the first period to 0 the algorithm converges and the ZLB is not binding anymore. I am wondering whether it is more likely that my ZLB-implementation is wrong or that there is only a solution if either the initial interest rate is negative or manually set to zero.

I appreciate any comments! Best, Palu
Palumenis
 
Posts: 5
Joined: Mon Nov 18, 2013 1:55 pm

Re: Implementing ZLB with deterministic simulation

Postby jpfeifer » Sat Feb 15, 2014 11:04 am

I would need the mod-file
------------
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: Implementing ZLB with deterministic simulation

Postby jpfeifer » Wed Feb 19, 2014 10:07 am

Code: Select all
model_diagnostics

on your model B says
model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
c
n
g
tau
gamma1
gamma2
gamma3
gamma4
Colinear equations
5 13

The presence of a singularity problem typically indicates that there is one
redundant equation entered in the model block, while another non-redundant equation
is missing. The problem often derives from Walras Law.
------------
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 5 guests