dp_cdf: Generate differentially private cdf from histogram

View source: R/dp_cdf.R

dp_cdfR Documentation

Generate differentially private cdf from histogram

Description

Generate differentially private cdf from histogram

Usage

dp_cdf(binned_data, n = NULL, epsilon, delta, rho = NULL)

Arguments

binned_data

The output of bin_data

n

The number of observations in the original data (if public, otherwise the max of the noisy cumsum will be used). Default: NULL (i.e. use maximum of noisy cumsum).

epsilon

Privacy parameter epsilon

delta

Privacy parameter delta

rho

Privacy parameter rho. Either epsilon and delta or rho must be provided. Rho overwrites any entries in epsilon and delta.

Value

A noisy cdf of the data.


mneunhoe/dpBootstrap documentation built on Feb. 10, 2023, 6:31 a.m.