Learn R Programming

tidydp (version 0.1.0)

sensitivity_sum: Calculate L1 Sensitivity for Sum Queries

Description

For sum queries with bounded data, the sensitivity is the maximum change in the sum when one record is substituted (changed from any value to any other value in the range). This uses the standard substitution model for differential privacy.

Usage

sensitivity_sum(lower, upper)

Value

Numeric sensitivity value

Arguments

lower

Lower bound of the data range

upper

Upper bound of the data range