Learn R Programming

CDF.PSIdekick (version 1.2)

QuantileFromCDF: Retrieve a private quantile estimate from the dpCDF

Description

Determines a quantile value from a CDF vector.

Usage

QuantileFromCDF(est, range, gran, quantile, ...)

Arguments

est
The vector output of a differentially private CDF computation (cumulative count bins)
range
A vector length 2 containing user-specified min and max to truncate the universe to
gran
The smallest unit of measurement in the data (one [year] for a list of ages), the Domain (ie gran and range) should be identical to those used to create the CDF!
quantile
the quantile score in question (for testing the median, use quantile = 0.5)
...
Optionally add additional parameters. This is primarily used to allow automated execution of varied diagnostic functions.

Value

A quantile value obtained from a (differentially private) CDF vector, not using any extra privacy budget

Examples

Run this code
QuantileFromCDF(c(.1,.2,.3,.3,.3,.3,.3,.3,.4,1),c(1,10), 1, .05)

Run the code above in your browser using DataLab