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

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