- shi.mod
- (1.45 KiB) Downloaded 74 times
When I use the program as attached to conduct simulation after get the steady state value, matlab show the errors as follows:
MODEL SIMULATION :
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 2.116059e-016.
> In sim1 at 129
In simul at 100
In shi at 212
In dynare at 120
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 4.671822e-028.
> In sim1 at 129
In simul at 100
In shi at 212
In dynare at 120
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 4.773658e-087.
> In sim1 at 129
In simul at 100
In shi at 212
In dynare at 120
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 3.930813e-080.
> In sim1 at 129
In simul at 100
In shi at 212
In dynare at 120
Warning: Matrix is singular to working precision.
> In sim1 at 129
In simul at 100
In shi at 212
In dynare at 120
Total time of simulation :1.457
WARNING : maximum number of iterations is reached (modify options_.maxit_).
??? Undefined function or variable 'c'.
Error in ==> sim1 at 144
oo_.deterministic_simulation.errors = c/abs(err);
Error in ==> simul at 100
sim1;
Error in ==> shi at 212
simul();
Error in ==> dynare at 120
evalin('base',fname) ;
Can you help me fix it? Thank you so much!