Skip to contents

Checks P_D <= e^eps P_D' + delta BOTH ways and reports the worst slack.

Usage

morie_kamath_differential_privacy(eps, delta, p_D = NULL, p_Dp = NULL)

Arguments

eps

Privacy loss.

delta

Failure probability.

p_D, p_Dp

Event probabilities on the neighbouring datasets.

Value

List with estimate, guarantee, slack, worst_event.

Examples

morie_kamath_differential_privacy(eps = 0.5, delta = 0.5)
#> $estimate
#> [1] 1.648721
#> 
#> $guarantee
#> NULL
#> 
#> $multiplicative_bound
#> [1] 1.648721
#> 
#> $epsilon
#> [1] 0.5
#> 
#> $delta
#> [1] 0.5
#> 
#> $n
#> [1] 0
#> 
#> $method
#> [1] "(eps, delta)-DP bound, no mechanism supplied"
#>