Skip to contents

RAPPOR privacy parameters (Theorems 1 and 2)

Usage

morie_rappor_epsilon(h, f, p = NULL, q = NULL)

Arguments

h

Number of Bloom hash functions.

f

Permanent randomized response parameter.

p, q

Instantaneous randomized response parameters; when both are supplied, eps_1 is returned as well.

Value

List with eps_infinity and optionally eps_1, q_star, p_star.

References

Erlingsson, Pihur & Korolova (2014), ACM CCS.

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_rappor_epsilon(V, V)
#> $eps_infinity
#> [1] 0
#>