View source: R/900_BTRR_sampling_fns.R
BTRR_draw_beta | R Documentation |
Draw beta variables from their posterior full conditional distributions. As a note, this is done with a loop in the code for the Markov Chain Monte Carlo.
BTRR_draw_beta(Y, x, betas, Sigma_AR, tau, Phi, W, j, r)
Y |
Array of the response values |
x |
Matrix of the covariates |
betas , W |
Lists of length |
Sigma_AR |
A covariance matrix based off of the observational variance \ and the covariance structure. |
tau |
A scalar for the global variance |
Phi |
A vector for the rank-weighting of the variance |
j |
Dimension index |
r |
Rank index |
A list of length D
made up of matrices with dimensions
p_j
by R
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.