quantileDataAccess | R Documentation |
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.
quantileDataAccess(x, quant, lower.bound, upper.bound)
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. |
List of a vector corresponding to the utility function, the sorted and clipped vector of inputs and the sensitivity calculated based on theoretical values.
Kifer2011DPpack
\insertRefSmith2011aDPpack
\insertRefGillenwater2021DPpack
quantileDataAccess(c(1,1,-2,8,-6),.25,-10,10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.