marg_lik: Compute the Marginal likelihood of circular Bayesian models.

Description Usage Arguments Value Examples

Description

For most models in circbayes, this uses bridge_sampler.

Usage

1

Arguments

x

Fit model object.

...

Further arguments.

Value

Numeric; the log marginal likelihood.

Examples

1
2
3
4
5
6
7
8
9
th <- rvm(40, 5, 8)
vm_mod  <- vm_posterior(th)
pn_mod  <- pn_posterior(th)
bat_mod <- bat_posterior(th)
mlvm <- marg_lik(vm_mod)
mlpn <- marg_lik(pn_mod)
mlbt <- marg_lik(bat_mod)

bht_compare(mlvm, mlpn, mlbt)

keesmulder/circbayes documentation built on May 30, 2019, 2:04 p.m.