ZLB deterministic setting

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.

ZLB deterministic setting

Postby chia » Mon Jul 23, 2012 8:44 pm

Hi,
I need some advise. I am implementing a negative deterministic shock to the interest rate in order to do some ZLB analysis. Despite the model converges and the rank condition is satisfied, I get this error message.

??? Error using ==> assignin
ASSIGNIN cannot assign to variables with the same name as a MATLAB keyword

Error in ==> dyn2vec at 49
assignin('base',deblank(M_.endo_names(i,:)),oo_.endo_simul(i,k)');

Error in ==> simul at 100
dyn2vec;

Then, when I look at the simulated series for the nominal interest rate, it turns out that negative values remain so and are not turned to zero. Can someone help me?

thank you in advance!
Attachments
baseline_code.mod
(7.09 KiB) Downloaded 135 times
chia
 
Posts: 6
Joined: Wed Jul 18, 2012 10:19 pm

Re: ZLB deterministic setting

Postby MelleMa » Sat Aug 25, 2012 10:42 pm

Hi!

Just rename several variables like pi and i. They have another meaning for Matlab.
MelleMa
 
Posts: 7
Joined: Tue Oct 11, 2011 12:00 pm


Return to Dynare help

Who is online

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