problem with simulation

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.

problem with simulation

Postby jackf118 » Thu Aug 23, 2012 5:23 am

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!
jackf118
 
Posts: 11
Joined: Wed Jun 20, 2012 2:18 am

Re: problem with simulation

Postby kyri82 » Fri Aug 24, 2012 10:43 am

hey, are you sure you are defining an exogenous process for your model? it does not seem so...
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France


Return to Dynare help

Who is online

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