impute.Rd
Impute Conjugate Values
impute_conj_mvnorm_mu(y, mu, impute, Q, mu0, tau0)
A matrix of values drawn from the multivariate normal distribution whose mean we are to impute.
the means we wish to impute. Should be the same size as y
.
No NA's are allowed; indices to impute are passed to impute
. Instead,
usually values are initialized and allowed to update within the MCMC framework.
A logical matrix the size of y
, indicating where to impute.
the precision of the multivariate normal distribution from which y
comes.
Should be square, with dimension ncol(y)
.
The prior means/precisions for mu
.
Can be a matrix the same size as mu
, in which case
only the values corresponding to impute == TRUE
are used, or a vector with length
sum(impute)
.