Inverse-Gamma full conditional, one sigma per block.
sample_sigma_beta_cpp(
beta_path,
group_id,
n_groups,
Lambda_inv,
rho_by_group,
prior_shape,
prior_scale
)Length n_groups vector of new sigma values.
(T x p_dyn) matrix.
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 n_groups vector of current rho values.
Length n_groups vector of IG shape parameters.
Length n_groups vector of IG scale parameters.