rrcovNA (version 0.4-15)

impNorm: Impute missing multivariate normal data

Description

Draws missing elements of a data matrix under the multivariate normal model and a user-supplied parameter

Usage

impNorm(x)

Value

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.

Arguments

x

the original incomplete data matrix.

Details

This function simply uses imp.norm from package norm.

References

See Section 5.4.1 of Schafer (1996).

See Also

prelim.norm, makeparam.norm, and rngseed.

Examples

Run this code
data(bush10)
impNorm(bush10) #impute missing data under the MLE

Run the code above in your browser using DataLab