Calculate the posterior model odds for a set of models.
Usage
posteriorModelOdds(...)
Value
posteriorModelOdds returns to posterior model odds for the models provided.
Arguments
...
objects of class (g)lm, given as separate arguments.
Author
Mathijs Deen
Details
Posterior model odds are calculated for every model \(i\) as $$\mathrm{pMO}_i = \frac{\mathrm{exp}\Big[-\frac{1}{2}\Delta_i\mathrm{BIC}\Big]}{\sum_{j = 1}^K\mathrm{exp}\Big[-\frac{1}{2}\Delta_j\mathrm{BIC}\Big]},$$
where the minimal BIC value is subtracted from all BICs. In other words: the model with the lowest BIC has \(\Delta\mathrm{BIC}=0\).