Warning: Matrix is close to singular or badly scaled.

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.

Warning: Matrix is close to singular or badly scaled.

Postby JTS » Wed Jan 20, 2016 12:02 pm

Hi everyone

I am starting to use dynare, I tried to solve a simple model and
I get Warning: Matrix is close to singular or badly scaled.
In th_autocovariances at 149
In disp_th_moments at 37
In stoch_simul at 164
In basic_model at 120
In dynare at 180

I don't know what is wrong with my code.
Could you give me some suggestions, please?
Thanks in advance
Jocy
Attachments
basic_model.mod
(681 Bytes) Downloaded 58 times
JTS
 
Posts: 1
Joined: Wed Jan 20, 2016 11:35 am

Re: Warning: Matrix is close to singular or badly scaled.

Postby jpfeifer » Sun Jan 24, 2016 7:07 pm

Note first that this is a warning, not an error. This seems to be a matter of a parameterization that leads to numerical issues. When you use
Code: Select all
beta = 0.99;
nu = 2;
rho = 0.6;
sigma = 1;
r=1/beta-1;

there is no warning message.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

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