Hi,
I am trying to replicate a flexible-price version of two-country (advanced and emerging country) model with banking of Gertler and Karadi (2011). The closest papers to mine are Banerjee, Devereux, Lombardo (2015) and Agenor, Kharroubi, Gambacorta, Lombardo, da Silva (2017). Although it’s a flexible price model, there are prices in the code because I plan to extend the model to staggered price later on.
The attached is my Dynare file. (I tried to send the 2 matlab files but I could not because I am new user and cannot send more than 2 attachments).
What I did was, I used the matlab file to find the steady state values which I put into Dynare as initial values.
When I run my Dynare file, it seemed to be able to find the steady states. But it won’t solve and below is the message I got. Please could you assist me what went wrong with the model? I suppose it required more equations but I am not sure which variables or what kind of equations I should add?
Error using print_info (line 54)
One of the eigenvalues is close to 0/0 (the absolute value of numerator and denominator is smaller than 1e-06!
If you believe that the model has a unique solution you can try to reduce the value of qz_zero_threshold.
Error in stoch_simul (line 95)
print_info(info, options_.noprint, options_);
Error in Fed_paper_18aug (line 412)
info = stoch_simul(var_list_);
Error in dynare (line 223)
evalin(‘base’,fname) ;
Model-diagnostics suggested that:
model_diagnostics
Not enough input arguments.
Error in model_diagnostics (line 38)
endo_nbr = M.endo_nbr;
Thank you.
Fed_paper_18aug.mod (5.7 KB)