Page 1 of 1

Model comparison

PostPosted: Wed Sep 01, 2010 8:20 pm
by matte
Dear,

I would like to compare two competing models. When I estimate a model, I get, among others, output that says "Log data density is 1100.27".
Is it the marginal density of the data conditional on the model multiplied by prior distribution? If not, how can I compute this product?

Many thanks in advance,
M

Re: Model comparison

PostPosted: Thu Sep 02, 2010 10:57 am
by StephaneAdjemian
It is the (logged) density of the sample conditional on the model, that is the integral of the posterior kernel (the likelihood times the prior density) with respect to the estimated parameters. This is the quantity you need to compare different models.

Best, Stéphane.

Re: Model comparison

PostPosted: Thu Sep 02, 2010 1:24 pm
by matte
Thank you very much for your prompt answer!!!