Determine the expected MSE of a simple DPCDF from its parameters.

Description

Generates the analytically expected Mean Squared Error of a dpCDF. introduced by random noise, SUPPOSING that the DP-CDF is through the use of a noisy binary tree.

Usage

1
MSEanalytic(eps, range, gran, data, ...)

Arguments

eps

Epsilon value for differential privacy control

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)

data

The vector of data from which the DP CDF was/is computed

...

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

Value

The MSE guaranteed by the given parameter combination assuming it's built from the min and max inward from a DP-Histogram, with 95

Examples

1
MSEanalytic(.01, c(1,10),1, rexp(10000,.4))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.