Vlcek/Roger (2011) model

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.

Re: Vlcek/Roger (2011) model

Postby rickardo » Fri Sep 20, 2013 4:02 am

Oh I see, thank you so much!

Should there also be the shock on the liabilities side of the Bank balance sheet? that is

exp(b_h) + exp(b_e) + eps_K_b = exp(d_b) + exp(K_b) ;

I have found all the other impulses to match the Gerali model, however for some reason am finding a positive output shock
rickardo
 
Posts: 6
Joined: Mon Jul 15, 2013 1:23 pm

Re: Vlcek/Roger (2011) model

Postby federico » Fri Sep 20, 2013 7:24 am

Ths shock on the balance sheet is used by the authors when they estimated the model .
Its presence seems to improve a lot the estimation (try by yourself).
But when they simulate the negative capital banking shock they simulate the model using the calibrated parameters at the posterior mean and then they include
a capital shock like my previous post

Hope it helps
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Vlcek/Roger (2011) model

Postby Ale_e_Andre » Mon Sep 23, 2013 5:37 pm

Hi everybody.
I am trying to modify the Gerali's paper by introducing an SPV involved in a securitization process. I used the same approach of the paper.
I slightly modified the program "GNSS_P3_version2.mod" posted by somekindofgrinder, but after running Dynare I have this error:


SOLVE: maxit has been reached

SOLVE: maxit has been reached

SOLVE: maxit has been reached
Error in computing likelihood for initial parameter values
??? Error using ==> print_info at 57
Impossible to find the steady state. Either the model doesn't have a
steady state, there are an infinity of steady states, or the guess values
are too far from the solution

Error in ==> initial_estimation_checks at 69
print_info(info, DynareOptions.noprint)

Error in ==> dynare_estimation_1 at 169
oo_ =
initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> newbankingSPV at 819
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;


The question is:
do you think that there is a bug in my program, as well as in my theoretical model, or the only problem stays in wrong initial values?
I am a beginner of Dynare, so I really appreaciate all kind of hints.

Thank you very much in advance for an eventual reply.

I attach the file .mod, the m. file with data and a short note to explain what I have done.
Attachments
NotesBanking_SPV.pdf
(179.76 KiB) Downloaded 161 times
datacolumn.m
(10.48 KiB) Downloaded 97 times
newbankingSPV.mod
(36.01 KiB) Downloaded 108 times
Ale_e_Andre
 
Posts: 3
Joined: Sun Sep 22, 2013 5:38 pm

Re: Vlcek/Roger (2011) model

Postby federico » Tue Sep 24, 2013 1:08 pm

I don't have time to go deep in the equations of your model but just look at the code I hve a couple of remarks

First of all, before embarking in the estimation, calibrate your model in order to check if you obtained coherent results.
If you remove % from the 787 line you can see by yourself the problem.

Another remarks. Where are the observables equations?
you have to define not only the observable variables but also the observable equation to estimate your model.
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Vlcek/Roger (2011) model

Postby Ale_e_Andre » Wed Sep 25, 2013 7:39 pm

Thanks a lot Federico! I'll try to fix my mistakes.
Ale_e_Andre
 
Posts: 3
Joined: Sun Sep 22, 2013 5:38 pm

Re: Vlcek/Roger (2011) model

Postby rickardo » Wed Oct 02, 2013 3:22 am

Hi all,

I am attempting to augment a policy rule incorporating lending spreads (a la curdia woodford) where the policy rate falls with an increase in the lending spread, into the Gerali et al (2010) model however the Impulse Response Functions to a financial shock seem to be almost reversed: that is - incorporating a negative policy reaction to spreads seems to increase the policy rate when spreads widen.

I was wondering if anyone who was familiar with the Gerali model had any insights into the errors I was possibly making? I have a feeling it relates to the rational expectations of the banks in the model

Appreciate the time you have taken!
Attachments
finshock.mod
(28.05 KiB) Downloaded 114 times
rickardo
 
Posts: 6
Joined: Mon Jul 15, 2013 1:23 pm

Re: Vlcek/Roger (2011) model

Postby hrdg » Mon Nov 18, 2013 1:13 pm

I deleted Ale_e_Andre 's SPV part of the code and used it to estimate parameters, but the estimation is still not OK, even I modified the mode_compute=4, 5,6,7,8 9. the data file is your original vesion.
do you know what's wrong?
Attachments
GNSS_P3_estimation.mod
(26.95 KiB) Downloaded 103 times
hrdg
 
Posts: 6
Joined: Fri Jul 27, 2012 5:23 am

Re: Vlcek/Roger (2011) model

Postby Ale_e_Andre » Mon Nov 18, 2013 5:12 pm

Hi hrdg,
Looking at the estimation command: why did you put 1 for mh_replic? I put 100 as trial value, and I got results, the program run and we have IRFs. Anyway, you should probably increase the number of replications as in the original paper.
This is my first impression. Check your results in terms of both econometric and economic robustness.
Hope it is helpful.
Ale_e_Andre
 
Posts: 3
Joined: Sun Sep 22, 2013 5:38 pm

Re: Vlcek/Roger (2011) model

Postby jumo » Sat Dec 27, 2014 10:14 am

Hello! I hope you had nice christmas holydays and are motivated to help me on this :)
I am also replicating the Gerali et al (2010) model. I have the code for the baseline model from the MMB2 model database. Now I am wondering if the authors change the code in some way before simulating the monetary policy shock. For the technology shock everything is fine but when I use the code to simulate a monetary policy shock, especially inflation and the policy rate (but also consumption, output and deposits) react too strongly. I attach my code. Thank you!
Attachments
Banking_Code.mod
(28.28 KiB) Downloaded 110 times
jumo
 
Posts: 4
Joined: Sun Dec 14, 2014 2:27 pm

Previous

Return to Dynare help

Who is online

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