indivRisk {sdcMicro}R Documentation

Individual Risk computation

Description

Base individual risk computation.

Usage

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.

Details

Determines 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.

Value

rk base individual risk
method method
qual final correction factor
fk frequency count
knames colnames of the key variables

Note

The base individual risk method was developed by Benedetti, Capobianchi and Franconi

Author(s)

Matthias Templ

References

have a look at: http://neon.vb.cbs.nl/casc/Deliv/12d1.pdf or http://www.istat.it/dati/pubbsci/contributi/Contributi/contr_2003/2003_14.pdf

See Also

freqCalc

Examples

## 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    

[Package sdcMicro version 2.5.8 Index]