Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

posterior_density_funs_sigmas

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


MIRES

Measurement Invariance Assessment Using Random Effects Models and Shrinkage

v0.1.0
MIT + file LICENSE
Authors
Stephen Martin [aut, cre] (<https://orcid.org/0000-0001-8085-2390>), Philippe Rast [aut] (<https://orcid.org/0000-0003-3630-6629>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.