Draws a random sample from a multivariate normal distribution.
impute_outcome(conditional_parameters, n_imputations = 1, condmean = FALSE)
a list with elements mu
and sigma
which
contain the mean vector and covariance matrix to sample from.
numeric representing the number of random samples from the multivariate
normal distribution to be performed. Default is 1
.
should conditional mean imputation be performed (as opposed to random sampling)