Calculating the marginal likelihood
Calculating the marginal likelihood.
marg.likelihood(penden.env,pen.likelihood)
penden.env
: Containing all information, environment of pendensity()pen.likelihood
: penalized log likelihoodCalculating is done using a Laplace approximation for the integral of the marginal likelihood.
The needed values are saved in the environment.
Returning the marginal likelihood.
Christian Schellhase cschellhase@wiwi.uni-bielefeld.de
Density Estimation with a Penalized Mixture Approach, Schellhase C. and Kauermann G. (2012), Computational Statistics 27 (4), p. 757-777.
Useful links