multibridge (version 1.1.0)

tbinom_trans: Transforms Truncated Beta Samples To Real Line

Description

Transforms samples from a truncated beta density to the real line using a stick-breaking algorithm. This algorithm is suitable for mixtures of equality constrained parameters, inequality constrained parameters, and free parameters

Usage

tbinom_trans(theta_mat, boundaries, binom_equal, hyp_direction)

Value

matrix with transformed samples

Arguments

theta_mat

matrix with samples from truncated beta density

boundaries

list containing indices for upper and lower truncation boundaries

binom_equal

multiplicative elements for each lower and upper bound of each inequality constrained parameter.

hyp_direction

specifies whether the imposed inequality constrained imposes an increasing (i.e., 'smaller') or decreasing (i.e., 'larger') trend