Matrix 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.

Matrix close to singular or badly scaled

Postby Boja » Sat Feb 05, 2011 9:00 am

Hi all,

while solving and simulating a New Keynesian open economy DSGE with incomplete pass-through,
I obtained a multiple of warnings that reads as follows:

""Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 1.150177e-017.
> In th_autocovariances at 182
In disp_th_moments at 37
In stoch_simul at 73
In Sisay_OENK at 345
In dynare at 132"".

What should I do to overcome this problem? I attached the .mod file.
Any tip is highly appreciated.

(BTW, I obtained a solution to my previous query from a an earlier response posted by jpfeifer Oct 4/2010).

With best regards,

Boja :?
Attachments
Small Open economy NK.mod
(4.57 KiB) Downloaded 213 times
Boja
 
Posts: 5
Joined: Fri Jan 28, 2011 7:53 am

Matrix close to singular or badly scaled

Postby Boja » Sat Feb 05, 2011 2:40 pm

Hi all,
(Sorry, I re-posted the mod file).
while solving and simulating a New Keynesian open economy DSGE with incomplete pass-through,
I obtained a multiple of warnings that reads as follows:

""Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 1.150177e-017.
> In th_autocovariances at 182
In disp_th_moments at 37
In stoch_simul at 73
In Sisay_OENK at 345
In dynare at 132"".

What should I do to overcome this problem? I attached the .mod file.
Any tip is highly appreciated.

(BTW, I obtained a solution to my previous query from a an earlier response posted by jpfeifer Oct 4/2010).

With best regards,

Boja :?
Attachments
Boja_SOENK.mod.mod
(4.57 KiB) Downloaded 209 times
Boja
 
Posts: 5
Joined: Fri Jan 28, 2011 7:53 am

Re: Matrix close to singular or badly scaled

Postby SébastienVillemot » Mon Feb 07, 2011 11:26 am

This is only a warning so it is not necessary a source of worry.

Are you getting sensible results?
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Matrix close to singular or badly scaled

Postby Boja » Mon Feb 07, 2011 1:52 pm

Hi Sebastien, Thank you so much!
Some of the impulse response functions are not converging back to their
initial value (=0) after a shock.
The whole idea is this:
I am trying to compare two models -
1. standard production functions in both tradable and non-tradable sector - this works well!
2. The second model with a production function in non-tradable sector the ability of firms
to import intermediate inputs is constrained by availability of foreign exchange.
It is for this model that some of the IRFs fail to converge.

I really appreciate any tip.

Boja
Boja
 
Posts: 5
Joined: Fri Jan 28, 2011 7:53 am


Return to Dynare help

Who is online

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