JAGS_marglik_priors {BayesTools}R Documentation

Compute marginal likelihood for 'JAGS' priors

Description

Computes marginal likelihood for the prior part of a 'JAGS' model within 'bridgesampling' function

Usage

JAGS_marglik_priors(samples, prior_list)

Arguments

samples

samples provided by bridgesampling function

prior_list

named list of prior distribution (names correspond to the parameter names)

Value

JAGS_marglik_priors returns a numeric value of likelihood evaluated at the current posterior sample.


[Package BayesTools version 0.1.3 Index]