Bayesian DSGE Estimation - Warning: Matrix is singular

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.

Bayesian DSGE Estimation - Warning: Matrix is singular

Postby Lautaro2453 » Thu Jun 18, 2015 6:54 am

Hello, I hope you're fine.

I'm estimating a DSGE Model using Bayesian techniques. The paper in which I base is "Bayesian Estimation of an Open Economy DSGE Model with
Incomplete Pass-Through" Adolfson (2007).

I have the next warning error:

Estimation::marginal density: I'm computing the posterior mean and covariance... Warning: Matrix is singular to working precision."

Estimation::marginal density: I'm computing the posterior log marginal density (modified harmonic mean)... Warning: Matrix is singular to working precision."

"Estimation::marginal density: The support of the weighting density function is not large enough..."
"Estimation::marginal density: I increase the variance of this distribution."

"Estimation::marginal density: Let me try again."

"Estimation::marginal density: There's probably a problem with the modified harmonic mean estimator."

This is the first time that I work with Dynare. I would like to know if someone face this issue.

How can I solve this issue? Where is the problem? In the initial value of the parameters? In the prior distribution? In the observable variables? In the amount of parameters which we decide to estimate?

I try to solve the issue reducing the amount of parameters to estimate, calibrating some parameters and estimating others, changing the observable variables but I continue with the issue.

How generally you solve this issue?

I attach the dynare .mod code and the xls with the data file.

I really appreciate your time and support.

Kind regards,

Lautaro
Attachments
Input5.xls
(25 KiB) Downloaded 447 times
Tesis_MaestriaLG.mod
Mod File
(25.28 KiB) Downloaded 154 times
Lautaro2453
 
Posts: 7
Joined: Thu Jun 04, 2015 3:23 pm

Re: Bayesian DSGE Estimation - Warning: Matrix is singular

Postby jpfeifer » Thu Jun 18, 2015 8:27 pm

The first and most pressing issue is identification. Run the identification command to see
Code: Select all
WARNING !!!
The rank of H (model) is deficient!

    xi_w is not identified in the model!
    [dJ/d(xi_w)=0 for all tau elements in the model solution!]



WARNING !!!
The rank of J (moments) is deficient!

    epsilon_epsilon is not identified by J moments!
    [dJ/d(epsilon_epsilon)=0 for all J moments!]
    xi_e is not identified by J moments!
    [dJ/d(xi_e)=0 for all J moments!]
    xi_w is not identified by J moments!
    [dJ/d(xi_w)=0 for all J moments!]


You need to fix this first.
------------
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

Re: Bayesian DSGE Estimation - Warning: Matrix is singular

Postby Lautaro2453 » Thu Jun 18, 2015 8:34 pm

Hi Johannes,

Thanks for your answer. I've a short doubt regarding your answer.

In what file do you see this message error? Do you execute an additional command to see this message error or is available in an external file?

When I estimated the model, I couldn't see this message. I only see the warning messages.

If I could see this type message it would be very helpful to solve the problems with myself.

Thank you very much. Kind regards.

Lautaro
Lautaro2453
 
Posts: 7
Joined: Thu Jun 04, 2015 3:23 pm

Re: Bayesian DSGE Estimation - Warning: Matrix is singular

Postby Lautaro2453 » Fri Jun 19, 2015 12:14 am

I found how get this warning message

I will include in my code.

identification; dynare_sensitivity(identification=1, morris=2);

Thanks for clarify my doubt.

Regards
Lautaro2453
 
Posts: 7
Joined: Thu Jun 04, 2015 3:23 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 3 guests

cron