posterior_density_funs_sigmas {MIRES} | R Documentation |
Create marginal posterior density function approximations for random effect SDs
Description
For each RE-SD, approximates the marginal posterior density from MCMC samples for use in BF calculations.
Usage
posterior_density_funs_sigmas(mires, add_zero = TRUE, ...)
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
[Package MIRES version 0.1.0 Index]