singular matrix

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.

singular matrix

Postby Constant » Fri Jun 02, 2006 7:04 pm

Hi dear all,

I'm trying to run a very simple version of Overlapping Generation Model using Dynare and getting an error message:Matrix is singular to working precision. Another error arise whens I change some parameters values:Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.

Can anybody help me to solve the problem?

Thanks!
Constant
 
Posts: 1
Joined: Fri Jun 02, 2006 6:58 pm

Postby MichelJuillard » Fri Jun 02, 2006 8:28 pm

There are several places where such a message can pop up. The best would be to provide the *.mod file so that we can see were the problem is.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby tycons » Sat Jul 08, 2006 4:33 am

Hi Dear,
hereunder is a *.mod file with a similar problem.
Hope that you can help.
thanks!
Attachments
altruism4.mod
(1.28 KiB) Downloaded 481 times
tycons
 
Posts: 4
Joined: Thu Jul 06, 2006 5:11 pm

Postby tycons » Wed Jul 12, 2006 8:21 am

Dear all,

I still stuck on that problem of Singular Matrix when running my dynare code (that I posted on the forum previouly). Can anyone provide me with some help?

Thanks!
tycons
 
Posts: 4
Joined: Thu Jul 06, 2006 5:11 pm

Postby MichelJuillard » Wed Jul 12, 2006 12:42 pm

Dear Tycons,

two things.
1) your model doesn't satisfy the local conditions for the existence of a stable trajectory: you have 4 eigenvalues larger than one for three forward looking variables. There was however a bug in the message concerning the rank condition, saying that the rank condition was satisfied. I have corrected this bug in the correction will be available in the snapshot for version 3 starting tomorrow.

2) There are several things that I don't understand in your model. Could you provide the algebra of the model with the meaning of the variables?

Thanks

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests