logBayesFactor {CNPBayes} | R Documentation

## Compute the log bayes factor between models.

### Description

Models of varying component sizes are compared. The log bayes factor is calculated comparing each set of two models by marginal likelihood, as computed by `marginalLikelihood`.

### Usage

    logBayesFactor(x)

### Arguments

`x` | the result of a call to `computeMarginalLik`.

### Value

Log Bayes factor comparing the two models with highest likelihood.

[Package CNPBayes version 1.13.5 Index]