perfect foresight solution from a point out of SS-Bank run
Posted: Fri Apr 28, 2017 10:25 am
Dear Professor Jpfeifer ,
I am working in a model of bank run. I have written my .mod file for an economy with banking sector. without bank run, everything works great. Now I would like to simulate the situation with bank run. So according to Gertler Kiyotaki 2015, the economy starts at the SS at t=0. at period one, a shock hits the economy. At period two bank run happens and banking sector becomes inactive(so the economy goes to the model without banking sector). At period three the economy starts with the same model with banking sector at period zero with an initial values of end of period two and goes toward the SS. I have calculated the endogenous variables at period two(without banking sector) out of dynare and I would like to put these values at the initial values in a deterministic model and ask dynare to calculate perfect foresight solution from the initial values without banking sector to the SS with banking sector. I put the initval; block and simul(periods=500,stack_solve_algo = 0); but it was not successful. Then I realised that the endogenouse variables in oo._endo._simul(:,1) are not set as the initial values I have set in initval; block. Then I read your post at http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=10765&p=28095&hilit=perfect_foresight_solver+lmmcp+#p28095 so I manually changed the initial values. It still does not work. I even used the LMMCP at http://www.dynare.org/DynareWiki/NewFeatures, but it does not work. I was wondering if you could guide me to find how I can solve it. In general, is it possible to start from a point (out of steady state) and ask dynare to calculate the way to the SS? I put .mod file and others in a Zip file.
I am looking forward to hearing from you.
Sincerely,
Leo
I am working in a model of bank run. I have written my .mod file for an economy with banking sector. without bank run, everything works great. Now I would like to simulate the situation with bank run. So according to Gertler Kiyotaki 2015, the economy starts at the SS at t=0. at period one, a shock hits the economy. At period two bank run happens and banking sector becomes inactive(so the economy goes to the model without banking sector). At period three the economy starts with the same model with banking sector at period zero with an initial values of end of period two and goes toward the SS. I have calculated the endogenous variables at period two(without banking sector) out of dynare and I would like to put these values at the initial values in a deterministic model and ask dynare to calculate perfect foresight solution from the initial values without banking sector to the SS with banking sector. I put the initval; block and simul(periods=500,stack_solve_algo = 0); but it was not successful. Then I realised that the endogenouse variables in oo._endo._simul(:,1) are not set as the initial values I have set in initval; block. Then I read your post at http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=10765&p=28095&hilit=perfect_foresight_solver+lmmcp+#p28095 so I manually changed the initial values. It still does not work. I even used the LMMCP at http://www.dynare.org/DynareWiki/NewFeatures, but it does not work. I was wondering if you could guide me to find how I can solve it. In general, is it possible to start from a point (out of steady state) and ask dynare to calculate the way to the SS? I put .mod file and others in a Zip file.
I am looking forward to hearing from you.
Sincerely,
Leo