beta_ls: Sampling for beta_l's in hierarchical model 5. [beta_l|-]...

Description Usage Arguments Details

Description

Sampling for beta_l's in hierarchical model 5. [beta_l|-] l=1,..,nGroups

Usage

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)

Arguments

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

Details

Sigma0Inv: fixed loop through for each group and do sampling for each group beta


jrlewi/brlm documentation built on March 17, 2021, 1:10 a.m.