Gertler&Karadi (2011) credit policy implementation

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.

Gertler&Karadi (2011) credit policy implementation

Postby Keynesian94 » Sat May 20, 2017 10:58 am

Hi,
I'm relatively new to dynare, so I was hoping to get some help from this forum.
I'm currently implementing a countercyclical capital requirement into Gertler & Karadi (2011). I downloaded the mod file from the macro model database, but I can't get the credit policy to run inside dynare.

EDIT: I've just tried running it using the Model Database procedure (in which you can select the model, shocks etc.)
The problem is that I HAVE to choose a monetary policy rule, and theirs is not on the list.
Eventually, I want to change some of the equations of the model, and see how the results are different between a situation WITH and WITHOUT the credit policy. Any suggestions?
Thanks in advance!
Keynesian94
 
Posts: 5
Joined: Sat May 20, 2017 10:54 am

Re: Gertler&Karadi (2011) credit policy implementation

Postby federico » Mon May 22, 2017 12:29 pm

Hi,

In Peter Keradi's website you can find their original code.

Hope it helps

Federico
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Gertler&Karadi (2011) credit policy implementation

Postby Keynesian94 » Mon May 22, 2017 12:39 pm

Thanks for your reply!
I also tried to work with their code. My problem is that ''content'' is there, but the .mod files are empty.
I do not understand how to run the code from the different files (which are .m files, like DSGE_SteadyState.m)
I guess I have to combine them somehow?
Keynesian94
 
Posts: 5
Joined: Sat May 20, 2017 10:54 am

Re: Gertler&Karadi (2011) credit policy implementation

Postby jpfeifer » Mon May 22, 2017 3:46 pm

Have you looked into the replication folder of the MMB?
------------
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: Gertler&Karadi (2011) credit policy implementation

Postby federico » Mon May 22, 2017 4:47 pm

If I remember correctly, there is a folder
called "dynare" that contains the files that you need.

Otherwise there are several matlab function (mainly FA_func and FA_main) that should
create the dynare file that you need.
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Gertler&Karadi (2011) credit policy implementation

Postby Keynesian94 » Wed May 24, 2017 1:28 pm

Thanks! I figured it out.
Indeed, the FA_Main file contains the elements to run it, I just hadn't figured out that you should run it in matlab instead of dynare.
Keynesian94
 
Posts: 5
Joined: Sat May 20, 2017 10:54 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 12 guests