DerivDiff: Determine how well a single DPCDF matches the shape of its...

Description Usage Arguments Value Examples

View source: R/CDFtestingSuite.R

Description

Calculates a score for how much the DP-CDF's slope varies from the true CDF's slope at various resolutions.

Usage

1
DerivDiff(Y, est, ...)

Arguments

Y

The vector output of a non-differentially private CDF computation (cumulative count bins)

est

The vector output of a differentially private CDF computation (cumulative count bins)

...

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

Value

A single so-called derivative score; lower scores suggest better performance

Examples

1
DerivDiff(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 20, 2017, 2:49 a.m.

Search within the CDF.PSIdekick package
Search all R packages, documentation and source code