dRisk {sdcMicro}R Documentation

overal disclosure risk

Description

Distance-based disclosure risk estimation via standard deviation-based intervals.

Usage

dRisk(x, xm, k = 0.01)

Arguments

x original data
xm perturbed data
k percentage of the standard deviation

Details

An interval is built around each value of the perturbed value with the help of the standard deviation. Then we look if the original values are in these intervals or not. With parameter k one can enlarge or down scaling the interval.

Value

The disclosure risk.

Author(s)

Matthias Templ

References

see method SDID in http://vneumann.etse.urv.es/publications/sci/lncs3050Outlier.pdf

See Also

dUtility, dUtility

Examples

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)

[Package sdcMicro version 2.5.8 Index]