computeMAIE {wNNSel} | R Documentation |
Mean Absolute Imputation Error
Description
This function computes the mean absolute imputation error for a given complete/true data matrix, imputed data matrix and the data matrix with missing values.
Usage
computeMAIE(x.miss, x.impute, x.true)
Arguments
x.miss |
a |
x.impute |
an imputed data |
x.true |
complete/true data |
Value
value of MSIE
Examples
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)
computeMAIE(x.miss, x.impute, x.true)
[Package wNNSel version 0.1 Index]