Log data density [Laplace approximation] is NaN.

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.

Log data density [Laplace approximation] is NaN.

Postby coot » Fri May 28, 2010 9:38 am

Hello.

When I run a DSGE model (tried compute_mode from 1 to 7 [except 2]), I get errors, usually something related to

Log data density [Laplace approximation] is NaN.

what is the problem ??
coot
 
Posts: 24
Joined: Tue Apr 20, 2010 10:54 am

Re: Log data density [Laplace approximation] is NaN.

Postby jpfeifer » Fri May 28, 2010 9:58 am

Please post the mod-file.
------------
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: Log data density [Laplace approximation] is NaN.

Postby coot » Fri May 28, 2010 5:56 pm

model_bas_PriorsAndPosteriors2.pdf
posterior mode and distribution
(8.05 KiB) Downloaded 192 times
Solved the problem. I missed somethings...
But I get strange posterior mode and distribution graphs. Any ideea or comment would be ok...
One more thing, my model fits the data almost perfect, and all measurement errors are 0 :shock:
coot
 
Posts: 24
Joined: Tue Apr 20, 2010 10:54 am

Re: Log data density [Laplace approximation] is NaN.

Postby jpfeifer » Sat May 29, 2010 6:19 am

Again, without the mod-file, the data-file and some information what the variables in your posted PDF mean, it's hard to judge what's going on. Did you correctly specify the measurement equation, taking care of stationarity? And how many observables and shocks do you have?
------------
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: Log data density [Laplace approximation] is NaN.

Postby coot » Sat May 29, 2010 12:08 pm

I've solved the problems. I'll post the files when I run out of ideas. The model has about 70 equations, 15 observable variables, it is the one developed in Adolfson et. al 2005. Now there is no reason for me to post the files because I find every time some mistakes to correct them. But when I am finished or out of ideas I'll post it.
coot
 
Posts: 24
Joined: Tue Apr 20, 2010 10:54 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests