MaxError_PDF: Determine an approximate PDF's maximum error.

Description Usage Arguments Value Examples

View source: R/CDFtestingSuite.R

Description

Find the maximum direct error between a non-private PDF and a DP approximation of that PDF.

Usage

1
MaxError_PDF(Y, est, ...)

Arguments

Y

The vector output of a non-differentially private PDF computation (heights of bins)

est

The vector output of a differentially private PDF computation (heights of bins)

...

Optionally add additional parameters. This is primarily used to allow automated execution of varied diagnostic functions.

Value

A single value, the largest absolute vertical difference between parallel observations in the private- and true-PDF vectors.

Examples

1
MaxError_PDF(c(.1,.2,.3,.4,.5,.6,.7,.8,.9,1), c(.1,.2,.3,.3,.3,.3,.3,.3,.4,1))

CDF.PSIdekick documentation built on May 30, 2017, 5:09 a.m.