histogramGetCI: Histogram confidence intervals

Description Usage Arguments Details Value

View source: R/utilities-histogram.R

Description

Return the confidence interval for each bins of the differentially private histogram release, given the accuracy.

Usage

1
histogramGetCI(release, nBins, accuracy)

Arguments

release

A numeric vector with a noisy estimate of bin counts.

nBins

A numeric vector of length one specifying the number of cells in which to tabulate values.

accuracy

A numeric vector representing the accuracy guarantee.

Details

A confidence interval indicates the range in which we estimate the true value of a statistic to be. In this case, the confidence interval indicates the range in which the true count for each histogram bin could be. To give an example: say a differentially private release of a histogram bucket has a count of 5. Say the confidence interval for that bucket is [3,7]. We can say "we are 95 the true count of this histogram bin is between 3 and 7."

Value

Confidence interval for the noisy counts in each bin.


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.