DIC: Deviance Information Criterion

Description Usage Arguments Details Value Author(s) See Also

Description

Deviance Information Criterion

Usage

1
DIC(x, loglikelihood)

Arguments

x

an object of class CMM or GSMetrop

loglikelihood

a function for the calculation of the log likelihood for the current model. This function must rely only on the data provided in lidat. This function must have three parameters: (i) par is the list of parameters, (ii) lidat is the list containing the data, and (iii) ctrl is a named list (see the help page of GeneralSingleMetropolis). Note that the argument ctrl is not used by the function here.

Details

Calculates the deviance information criterion of a model.

Value

the value of the DIC.

Author(s)

Clement Calenge, clement.calenge@oncfs.gouv.fr

See Also

GeneralSingleMetropolis.


ClementCalenge/metroponcfs documentation built on May 6, 2019, 12:05 p.m.