getMean: Calculate the private mean from the DP-CDF

Description Usage Arguments Examples

View source: R/CDFtestingSuite.R

Description

Calculates the mean value from a CDF plot.

Usage

1
getMean(est, range, gran, ...)

Arguments

est

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

range

A vector length 2 containing user-specified min and max Note that the gran and range must be the same as used to make the DP-CDF!

gran

The smallest unit of measurement in the data (one [year] for a list of ages)

...

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

Examples

1
getMean(c(.1,.2,.3,.3,.3,.3,.3,.3,.4,1), c(1,10), 1)

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