Learn R Programming

sdcMicro (version 2.6.3)

dRisk: 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

Value

  • The disclosure risk.

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 lay in these intervals or not. With parameter k one can enlarge or down scale the interval.

References

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

See Also

dUtility, dUtility

Examples

Run this code
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)

Run the code above in your browser using DataLab