Coding a nonlinear interest rate schedule

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.

Coding a nonlinear interest rate schedule

Postby parantap » Thu Jun 29, 2017 3:05 pm

Hi
I am interested in setting up a nonlinear interest rate schedule in dynare. Here is the problem. I want to formulate an interest rate schedule which takes different values for different levels of deposit. If the deposit level is lower than Dbar, the interest rate is i_1 and if it is higher Dbar the interst rate i_2. I would like to make it more general three tier or four tier system where there two or three such thresholds.
Any idea how I can do this? I foresee multiple steady states for interest rate which could be problematic in implementing in dynare. Any help or any reference to past coding will be extremely helpful.

PB
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm

Re: Coding a nonlinear interest rate schedule

Postby annawarren » Mon Jul 03, 2017 1:33 pm

parantap wrote:Hi
I am interested in setting up a nonlinear interest rate schedule in dynare. Here is the problem. I want to formulate an interest rate schedule which takes different values for different levels of deposit. If the deposit level is lower than Dbar, the interest rate is i_1 and if it is higher Dbar the interst rate i_2. I would like to make it more general three tier or four tier system where there two or three such thresholds.
Any idea how I can do this? I foresee multiple steady states for interest rate which could be problematic in implementing in dynare. Any help or any reference to past coding will be extremely helpful.

PB


The common problem
annawarren
 
Posts: 1
Joined: Mon Jul 03, 2017 12:37 pm

Re: Coding a nonlinear interest rate schedule

Postby jpfeifer » Mon Jul 03, 2017 1:59 pm

If you are thinking about stochastic simulations, this will not be feasible due to the discontinuities introduced by the steps.
------------
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: Coding a nonlinear interest rate schedule

Postby parantap » Wed Jul 12, 2017 10:23 pm

No. I will a deterministic simulation. Is there any code which can guve me some guidance?
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm

Re: Coding a nonlinear interest rate schedule

Postby StephaneAdjemian » Thu Jul 13, 2017 5:26 am

Stochastic simulation could be done with extended path (a sequence of perfect foresight simulation). The problem here is not the non differentiability introduced by the steps. The issue is that depending on the regime, the steady state of your model (the target of the perfect foresight solver) moves. This is not possible with regular Dynare, You have to hack the Matlab code to write a solver specific to this model.

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests