Description Usage Arguments Details Value Author(s) References

View source: R/marg.likelihood.R

Calculating the marginal likelihood.

1 | ```
marg.likelihood(penden.env,pen.likelihood)
``` |

`penden.env` |
Containing all information, environment of pendensity() |

`pen.likelihood` |
penalized log likelihood |

Calculating 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 <[email protected]>

Density Estimation with a Penalized Mixture Approach, Schellhase C. and Kauermann G. (2012), Computational Statistics 27 (4), p. 757-777.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.