Financial frictions and Steady-State problem

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.

Financial frictions and Steady-State problem

Postby ohouari » Mon May 30, 2016 1:08 pm

Dear all,

I would really appreciate any help or indication.

As part of my Master thesis I am trying to achieve a DSGE model to analyze the behaviour of entrepreneurs under different uncertainties (micro/macro) by developing an optimal contract (in the spirit of financial acceleration à la BGG 1999) with risk averse agents (Both households and entrepreneurs like in Mikhail Dmitriev 2015: Risk Aversion and the Financial Accelerator) and imperfect protection of investors (banks).

To determine the impact of investors imperfect protection parameter (eta) in the financial acceleration equation (equation 102 in the .mod file) I must calculate both elasticities nup and nusigma (values used in the .mod code are issued from Dmitriev 2015 just to run the model) which is what I have tried to do in the two .m files. The results (of nu_p and nu_sigma) depends on the steady state values of variables x_low, x_up, R, s. These variables determine the repayment and default rule of entrepreneurs.

I understand that I have to specify a separate steady_state.m file. The problem I have is that these variables are not present in my log-linearized model which means that they will not be reported and therefore not calculated.

I dont understand how to solve this problem or what I'm missing.

Again I would appreciate any help.

Best regards,
Houari
Attachments
nu_sigma.m
(1.49 KiB) Downloaded 136 times
nu_p.m
(1.42 KiB) Downloaded 116 times
Financial_frictions.mod
(3.99 KiB) Downloaded 140 times
ohouari
 
Posts: 4
Joined: Mon May 30, 2016 11:33 am

Re: Financial frictions and Steady-State problem

Postby jpfeifer » Wed Jun 01, 2016 9:15 am

First off, I don't think it is a good idea to work with this type of complicated model at the master's level. It hardly ever works out in the end. You may be the exception, but most people should start with simpler models (fewer than 50 equations).

You need to understand the calibration strategy of the model. If the objects you refer to do not appear in the model (and this was calculated correctly), then they are only used during calibration to determine the steady state levels of some endogenous objects in the model. Note that in linearized models the steady state of the original variables is required to compute parameters showing up. This might be the case here. It could be that you need to solve the nonlinear model in your steady state file to get the steady state values you need to set your elasticities.
------------
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: Financial frictions and Steady-State problem

Postby ohouari » Wed Jun 01, 2016 1:40 pm

Dear professor Johannes Pfeifer,

First, I would thank you very much for your response and explanation of the calibration strategy and of course for all the great work you do here (and all the dynare team).

Second, my complete non linear model have just 25 equations and the log-linearized one only 18 equations as you can see in .pdf file I attached here (the number 102 in the last post and in the code was reffering to my demonstration file).

Moreover, when you say:" It could be that you need to solve the nonlinear model in your steady state file to get the steady state values you need to set your elasticities."I think that is axactly what I shoud do and I was thinking about it this last days. I try to follow the NK_baseline.m method and Fernandez-Villaverdé (2006) argumentation but since I have a lot of non-linearities (specialy integrals in g anf f functions) I dont know how to write this . I'm trying to define integrals like functions and use fsolve and this seems not working. Do you think this is the correct method to use? And can I introduce in this steady_state.m file my two elasticities nup and nusigma calculated in the previous .m files?

Thank you for your response.

Best regards,
HOUARI
Attachments
The complete DSGE model.pdf
non-linear and log-linearized models
(170.56 KiB) Downloaded 147 times
ohouari
 
Posts: 4
Joined: Mon May 30, 2016 11:33 am

Re: Financial frictions and Steady-State problem

Postby jpfeifer » Fri Jun 03, 2016 8:00 am

You might want to have a look at Christiano/Motto/Rostagno (2014): Risk Shocks. In their replication files at the AER they use a steady state file to deal with the financial accelerator.
------------
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 help

Who is online

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