quantileDataAccess: Differentially Private Quantile Data Access Function

quantileDataAccessR Documentation

Differentially Private Quantile Data Access Function

Description

This function performs the data access step in the computation of a differentially private quantile. The utility vector is computed as in \insertCiteSmith2011a;textualDPpack, while the sensitivities are calculated based on bounded and unbounded differential privacy \insertCiteKifer2011DPpack according to the theoretical values \insertCiteGillenwater2021DPpack.

Usage

quantileDataAccess(x, quant, lower.bound, upper.bound)

Arguments

x

Numeric vector.

quant

Real number between 0 and 1 indicating which quantile to return.

lower.bound

Real number giving the lower bound of the input data.

upper.bound

Real number giving the upper bound of the input data.

Value

List of a vector corresponding to the utility function, the sorted and clipped vector of inputs and the sensitivity calculated based on theoretical values.

References

\insertRef

Kifer2011DPpack

\insertRef

Smith2011aDPpack

\insertRef

Gillenwater2021DPpack

Examples

quantileDataAccess(c(1,1,-2,8,-6),.25,-10,10)


DPpack documentation built on April 8, 2023, 9:09 a.m.