marginal_lik {CNPBayes} | R Documentation |
The marginal likelihood is computed by Chib's estimator (JASA, Volume 90 (435), 1995).
marginal_lik(object) marginal_lik(object) <- value ## S4 method for signature 'MixtureModel' marginal_lik(object) ## S4 replacement method for signature 'MixtureModel,numeric' marginal_lik(object) <- value
object |
a SB, SBP, MB, or MBP model |
value |
scalar for marginal likelihood |
See marginalLikelihood
for computing the marginal likelihood of a mixture model.
sb <- SingleBatchModelExample marginal_lik(sb)