LKJ: Functions for testing LKJ prior

LKJR Documentation

Functions for testing LKJ prior

Description

Functions for testing LKJ prior

Usage

lkj_R(Y, eta, K)

lkj_const_R(eta, K)

lkj_unwrap_R(Y, K)

lkj_chol_logpdf_R(L, eta)

Arguments

Y

vector of unconstrained parameters

eta

LKJ parameter

K

dimension (integer)

L

lower triangular Cholesky decomposition

Value

log LKJ pdf of unconstrained vector

log LKJ pdf of Cholesky decomp, given unconstrained vector


braunm/CppADutils documentation built on Aug. 15, 2024, 5:30 p.m.