Draws missing elements of a data matrix under the multivariate normal model and a user-supplied parameter
imp.norm(s, theta, x)
summary list of an incomplete normal data matrix
value of the normal parameter under which the missing data are to be
randomly imputed. This is a parameter vector in packed storage, such
as one created by
the original data matrix used to create the summary list
This function simply performs one I-step of data augmentation.
a matrix of the same form as
x, but with all missing values filled in
with simulated values drawn from their predictive distribution given
the observed data and the specified parameter.
Before this function may be used, the random number generator seed
must be initialized with
rngseed at least once in the current S
See Section 5.4.1 of Schafer (1996).
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.