Description Usage Arguments Details
Sampling for beta_l's in hierarchical model 5. [beta_l|-] l=1,..,nGroups
1 2 3 | fn.sample.beta.l(yl, Xl, XtX.l, Beta, sigma2l, bstar, Sigma0Inv)
fn.one.rep.beta.l(y, X, XtX, Beta, sigma2, bstar, betalMat, Sigma0Inv)
|
yl, Xl |
these are the responses and design matrix for the lth group |
XtX.l |
X'X for lth group |
Beta |
Beta |
bstar |
b=b^*/swSq |
y, X |
list of yl and Xl |
XtX |
list of X'X for the l groups |
sigma2l: |
the sigma^2_l for the l group |
Sigma0Inv: fixed loop through for each group and do sampling for each group beta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.