dRisk {sdcMicro}R Documentation

overal disclosure risk

Description

Disclosure risk 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 we can enlarge or down scaling the interval.

Value

The disclosure risk.

Author(s)

Matthias Templ

References

http://vneumann.etse.urv.es/publications/sci/lncs3050Outlier.pdf

See Also

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.4.1 Index]