posterior_density_funs_sigmas: Create marginal posterior density function approximations for...

Description Usage Arguments Details Value Author(s)

View source: R/bf.R

Description

For each RE-SD, approximates the marginal posterior density from MCMC samples for use in BF calculations.

Usage

1

Arguments

mires

mires object.

add_zero

Logical (Default: TRUE). Whether to add a zero to samples.

...

Args passed onto .density.stan.

Details

Starts by computing (lower-bounded) logspline approximations. If these fail, it uses the Dirichlet process with positive-normal kernels as an approximation.

Value

List of approximate density functions.

Author(s)

Stephen Martin


MIRES documentation built on Feb. 22, 2021, 5:10 p.m.