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