Bayesian estimation _ mode_computation

thanks for the quick reply Prof. Pfeifer:

A bit confused though. I am citing below one of your comments which can be found under the following link:

In the cited text above one asks you regarding model comparison using

and you approve. Is that right?
I am confused : How can I calculate the statistics you mention: IIs it already provided by dynare (I do not seem to find such a statistic)

in my mode computation.