Truncated-Normal full conditional, one rho per block.
sample_rho_beta_cpp(
beta_path,
group_id,
n_groups,
Lambda_inv,
sigma_by_coef,
rho_current,
rho_prior_mean,
rho_prior_sd,
rho_lower = 0,
rho_upper = 0.999
)Length n_groups vector of new rho values.
(T x p_dyn) matrix of beta draws.
Length p_dyn integer vector (1-based) of block IDs.
Number of distinct block IDs.
(p_dyn x p_dyn) inverse of the (full) Lambda scale.
Length p_dyn vector of per-coef sigma (block-shared).
Length n_groups vector of current rho values.
Length n_groups vector of prior means.
Length n_groups vector of prior SDs.
Lower truncation bound (typically 0).
Upper truncation bound (typically 0.999).