impNorm | R Documentation |
Draws missing elements of a data matrix under the multivariate normal model and a user-supplied parameter
impNorm(x)
x |
the original incomplete data matrix. |
This function simply uses imp.norm
from package norm
.
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.
See Section 5.4.1 of Schafer (1996).
prelim.norm
, makeparam.norm
, and rngseed
.
data(bush10)
impNorm(bush10) #impute missing data under the MLE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.