update_mu: Update a mu vector (mu1 or mu2)

Description Usage Arguments

Description

Update a mu vector (mu1 or mu2)

Usage

1
update_mu(muvec, sigmavec, ymat, zmat, indicator, mu0 = 0, t0 = 1/1e+06)

Arguments

muvec

mu vector to be updated

sigmavec

sd vector (goes with mu vector)

ymat

data matrix

zmat

a trinary indicator matrix

indicator

(0 or 1) indicator to denote which mu vector (1 or 2) is being updated

mu0

hyperparameter, mean of normal hyperprior

t0

hyperparameter, precision of normal hyperprior


fboehm/mitra2013 documentation built on May 16, 2019, 11:10 a.m.