Page 1 of 1

about the variable "logpo2"

PostPosted: Thu Nov 01, 2012 1:46 am
by zenghaiwei
HI, all

After we estimated a dsge model by dynare, the mcmc draws will save in the subfolder filname\metroplolis\filename_mh1_blkc1.mat, in this file, two structures exist, one

is "x2", the mcmc draws of parameters, but another one is "logpo2", i think it is the posterior loglikelihood of each parameter draws. But what if i want to get the

loglikelihood of each draw of parameters? I mean not the posterior loglikelihood , only loglikelihood.

Does dynare save these results? Where is it stored? Or should I write code myself?

Best regards

Zeng Tao

Re: about the variable "logpo2"

PostPosted: Sun Nov 04, 2012 8:41 am
by jpfeifer
Currently, the likelihood is not stored. You would have to program that yourself.

Re: about the variable "logpo2"

PostPosted: Tue Nov 20, 2012 2:31 am
by zenghaiwei
Thanks, Prof. I have write the code. I just use the difference of logpo2 and the prior loglikelihood.