Steady state contains NaN or Inf
Posted: Mon Jul 25, 2016 9:42 am
Dear professor Pfeifer,
I built a two country monetary union, two sector, two household (saver/borrower) model similar to Quint and Rabanal 2013 found at https://www.imf.org/external/pubs/ft/wp ... p13209.pdf. The main difference with my code is that the bonds market for savers is not international. Savers can only place deposits with domestic financial intermediaries.
When I simulate the model I get the following message:
Do you have any tips on what might be causing this problem? I've gone over the code countless times and compared it with similar codes but am still unable to find what's wrong. Thank you in advance
Best,
Daniel
I built a two country monetary union, two sector, two household (saver/borrower) model similar to Quint and Rabanal 2013 found at https://www.imf.org/external/pubs/ft/wp ... p13209.pdf. The main difference with my code is that the bonds market for savers is not international. Savers can only place deposits with domestic financial intermediaries.
When I simulate the model I get the following message:
Warning: Matrix is singular to working precision.
> In evaluate_steady_state at 85
In resol at 104
In stoch_simul at 88
In Test at 777
In dynare at 180
Error using print_info (line 80)
The steady state contains NaN or Inf
Error in stoch_simul (line 98)
print_info(info, options_.noprint, options_);
Error in Test (line 777)
info = stoch_simul(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
Do you have any tips on what might be causing this problem? I've gone over the code countless times and compared it with similar codes but am still unable to find what's wrong. Thank you in advance
Best,
Daniel