dUtility {sdcMicro} | R Documentation |
IL1s data utility
dUtility(x, xm)
x |
original data |
xm |
perturbed data |
Here we measure standardised distances of the perturbed data values to the original ones.
data utility
Note, that this measure of information loss does not evaluate how well univariate or multivariate statistics are preserved.
Matthias Templ
look e.g. in http://vneumann.etse.urv.es/publications/sci/lncs3050Outlier.pdf
data(free1) m1 <- microaggregation(free1[, 31:34], method="onedims", aggr=3) m2 <- microaggregation(free1[, 31:34], method="pca", aggr=3) dRisk(x=free1[, 31:34], xm=m1$blowxm) dRisk(x=free1[, 31:34], xm=m2$blowxm) dUtility(x=free1[, 31:34], xm=m1$blowxm) dUtility(x=free1[, 31:34], xm=m2$blowxm)