compute_weights_BMA: Compute the model evidence/marginal likelihood via bridge...

View source: R/mortality_weights.R

compute_weights_BMAR Documentation

Compute the model evidence/marginal likelihood via bridge sampling (or via the harmonic mean estimator if bridge sampling fails)

Description

Compute the model evidence/marginal likelihood via bridge sampling (or via the harmonic mean estimator if bridge sampling fails)

Usage

compute_weights_BMA(stan_fits, mortality_models)

Arguments

stan_fits

list of Stan model fits where the marginal likelihood was computed via bridge sampling

mortality_models

vector of mortality models names

Value

data frame with model evidence for BMA


StanMoMo documentation built on Sept. 24, 2023, 1:06 a.m.