computeMSIE {wNNSel} | R Documentation |
This function computes the mean squared imputation error for a given complete/true data matrix, imputed data matrix and the data matrix with missing values.
computeMSIE(x.miss, x.impute, x.true)
x.miss |
a |
x.impute |
an imputed data |
x.true |
complete/true data |
value of MSIE
set.seed(3)
x.true = matrix(rnorm(100),10,10)
## create 10% missing values in x
x.miss = artifNA(x.true, 0.10)
## impute using wNNSel method
x.impute = wNNSel.impute(x.miss)
computeMSIE(x.miss, x.impute, x.true)