indivRisk(x, method = "approx", qual = 1, survey=TRUE)
Arguments
x
object from class freqCalc
method
approx (default) or exact
qual
final correction factor
survey
TRUE, if one have survey data and FALSE if one deal with the whole population.
Value
rkbase individual risk
methodmethod
qualfinal correction factor
fkfrequency count
knamescolnames of the key variables
Details
Estimation of the risk for each observation. After the risk is computed one can use e.g. the function
localSuppr() for the protection of values of high risk.
Further details can be found at the link given below.
S4 class sdcMicro objects are only supported by function measure_risk that also estimates the
individual risk with the same method.
References
Franconi, L. and Polettini, S. (2004) Individual risk estimation in mu-Argus: a review. Privacy in Statistical Databases, Lecture Notes in Computer Science, 262--272. Springer
Machanavajjhala, A. and Kifer, D. and Gehrke, J. and Venkitasubramaniam, M. (2007) l-Diversity: Privacy Beyond k-Anonymity.
ACM Trans. Knowl. Discov. Data, 1(1)
additionally, have a look at the vignettes of sdcMicro for further reading.
## example from Capobianchi, Polettini and Lucarelli:data(francdat)
f <- freqCalc(francdat, keyVars=c(2,4,5,6),w=8)
f
f$fk
f$Fk
## individual risk calculation:indivf <- indivRisk(f)
indivf$rk