dp_bootstrap_cdf: Wrapper function to generate dp cdf and bootstrapped cdfs...

View source: R/dp_bootstrap_cdf.R

dp_bootstrap_cdfR Documentation

Wrapper function to generate dp cdf and bootstrapped cdfs from univariate input data x

Description

Wrapper function to generate dp cdf and bootstrapped cdfs from univariate input data x

Usage

dp_bootstrap_cdf(
  x,
  lower_bound,
  upper_bound,
  n_bins = 1000,
  excess_bins = TRUE,
  n = NULL,
  epsilon,
  delta,
  rho = NULL,
  B = 1000,
  project = FALSE,
  ...
)

Arguments

x

numeric input data

lower_bound

The lower bound of the data

upper_bound

The upper bound of the data

n

Number of observations in original data (if public).

epsilon

Privacy parameter epsilon

delta

Privacy parameter delta

rho

Privacy parameter rho (Either epsilon and delta or rho must be provided.)

B

Number of bootstrap repetitions.

...

Placeholder for potential additional arguments for the functions called within the wrapper.

Value

A dp cdf and bootstrap samples


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