Bayesian estimation runs without errors but MLE with errors

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 estimation runs without errors but MLE with errors

Postby Jesse » Sun Feb 19, 2017 10:10 am

Dear Johannes,
I have run my DSGE model using Bayesian method in Dynare successfully without any warnings nor errors, however, when I try to run the same model using Maximum Likelihood method, I have received the warning and error messages, 'Matrix is singular, close to singular or badly scaled.'
I am wondering that what are the causes, why Bayesian method runs well without any warnings or errors in Dynare, but maximum likelihood method runs with warnings and errors in Dynare?
Thank you very much!
Jesse
Jesse
 
Posts: 44
Joined: Sat Feb 13, 2016 3:34 pm
Location: Sydney, Australia

Re: Bayesian estimation runs without errors but MLE with err

Postby jpfeifer » Tue Feb 21, 2017 3:41 pm

The question is in which function this error appears. A possible explanation is that with ML some tested parameter sets are pathological, while with Bayesian estimation the prior prevents testing these parameters.
------------
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 estimation runs without errors but MLE with err

Postby Jesse » Tue Feb 21, 2017 5:07 pm

Dear Johannes,
Thank you very much for helpful guidance, I am grateful.
Now I can run maximum likelihood estimation, however, I find standard errors are Inf and 0 t values, although I can run Bayesian without any warnings nor errors, does it indicate that data did not add much to the posterior distribution of the parameters?
Thank you!
Jesse
Jesse
 
Posts: 44
Joined: Sat Feb 13, 2016 3:34 pm
Location: Sydney, Australia

Re: Bayesian estimation runs without errors but MLE with err

Postby jpfeifer » Thu Feb 23, 2017 4:31 pm

No, that suggests problems with mode-finding. Did you look at the mode_check plots? A prior often helps to smooth out the likelihood function and results in a better behaved problem for maximization. That may be what you experience.
------------
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 5 guests