bayesFactor {CNPBayes}R Documentation

Compute the Bayes factor

Description

Calculated as log(ML1) - log(ML2) + log prior odds where ML1 is the marginal likelihood of the model with the most free parameters

Usage

bayesFactor(model.list, prior.odds = 1)

Arguments

model.list

list of models from gibbs

prior.odds

scalar


[Package CNPBayes version 1.12.0 Index]