comparability of likelihood (ML)

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.

comparability of likelihood (ML)

Postby tom24 » Wed Jun 09, 2010 9:22 am

Hello everyone,

I have a question concerning the comparability of the likelihood value from ML optimization in Dynare. Is there any reason why the value should not be comparable to the likelihood value from my own routine? They are materially different.

In Dynare I get "Fval obtained at the min routine: -2200", i.e. a likelihood value of 2200. With my own routine (numerical derivatives, but using the same filtering routine, the "univariate diffuse kalman filter.m") I get a likelihood of 2952 in the optimum point. I start with exactly the same initial parameter values. The final parameter values are somewhat more plausible in case of the Dynare result. I removed drift and constant from the state equations as necessary.

Is there any explanation for this?
Many thanks,
Tom
tom24
 
Posts: 3
Joined: Thu May 27, 2010 7:43 am

Re: comparability of likelihood (ML)

Postby StephaneAdjemian » Wed Jun 09, 2010 9:54 am

Hi Tom, we won't be able to give you any answer if you do not post some files replicating your problem.
Best, Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: comparability of likelihood (ML)

Postby tom24 » Thu Jun 17, 2010 9:52 am

I believe the difference can have to do with the way Dynare modifies the system equations (Schur decomposition etc.). One additional thing that I found out by debugging is that Dynare takes all equations (also those which I consider measurement equations in my own routine) into the set of state equations. Admittedly, I have no complete understanding of this set-up, but maybe this way additional state noise is "created" which transmits to Ft, the prediction error variance.

If somebody can comment on these hypotheses or give a slightly more precise despription of this modified state space form, this would still be of help. The ultimate goal is a modelcomparison with my own model which has a time varying constant in the state equation with futher explanatory value.
tom24
 
Posts: 3
Joined: Thu May 27, 2010 7:43 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests