Expected number of effective parameters vs. effective number of parameters (DIC)

377 views
Skip to first unread message

Anne Louise Nielsen

unread,
Mar 7, 2014, 2:45:21 AM3/7/14
to r-inla-disc...@googlegroups.com
Hi

I noticed from the output from my use of INLA that the output contains "expected number of effective parameters". When you compute the DIC, i.e. dic=TRUE the "effective number of parameters" is also computed. I know that the latter is used for the calculation of the DIC. My question is, why are these two numbers of parameters different, and what is the difference between them? 

BR
Anne Louise

Håvard Rue

unread,
Mar 7, 2014, 6:39:03 AM3/7/14
to Anne Louise Nielsen, r-inla-disc...@googlegroups.com
good question. the effective number of parameters you see in the
summary(result), uses the approximation

p_D = p - trace( -P * V)

where P is the prior precision matrix and V is the posterior covariance
matrix (refer to the DIC) paper.

The effective number of parameters in result$dic, is computed using
p_D = mean(deviance) - deviance(mean), again refer to the DIC paper.
(well, deviance(mean) uses the mode of the hyperparameters and the mean
of the latent field.)

the two numbers are usually in agreement but for more non-Gaussian data
they can disagree a little. the p_D in the $dic is more accurate. the
reason for doing like this, is that the approximation is cheap to
compute (in fact, almost free), whereas the other one is much more
expensive. also, p_D just give a rough guideline of the effective
number of parameters, as the hole DIC concept is somewhat
approximate...

Best
H

--
Håvard Rue
Department of Mathematical Sciences
Norwegian University of Science and Technology
N-7491 Trondheim, Norway
Voice: +47-7359-3533 URL : http://www.math.ntnu.no/~hrue
Mobile: +47-9260-0021 Email: havar...@math.ntnu.no

R-INLA: www.r-inla.org

Reply all
Reply to author
Forward
0 new messages