tmvn_gibbs_rej | R Documentation |
Gibbs step for truncated multivariate normal
tmvn_gibbs_rej(
y_current,
mean,
lower,
upper,
locs,
loc_length,
pre_calcs,
max_iter,
N_burn_trunc
)
y_current |
continuous outcome values |
mean |
mean vector of multivariate normal |
lower |
scalar, lower truncation bound |
upper |
scalar, upper truncation bound |
locs |
vector of locations to sample |
loc_length |
length of locs |
pre_calcs |
list of conditional means and covariance matrices |
max_iter |
integer, maximum number of rejection sampler attempts |
N_burn_trunc |
integer, number of Gibbs burn-in iterations |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.