laplaceGetEpsilon: Get epsilon for Laplace statistics

Description Usage Arguments Details Value

View source: R/utilities-laplace.R View source: R/utilities-noise-generation.R

Description

Function to find the epsilon value necessary to meet a desired level of accuracy for a statistic release.

Function to find the epsilon value necessary to meet a desired level of accuracy for a statistic release.

Usage

1
2
3
laplaceGetEpsilon(sensitivity, accuracy, alpha = 0.05)

laplaceGetEpsilon(sensitivity, accuracy, alpha = 0.05)

Arguments

sensitivity

the sensitivity of the statistic

accuracy

A numeric vector representing the accuracy needed to guarantee (percent).

alpha

A numeric vector specifying the statistical significance level.

sensitivity

the sensitivity of the statistic

accuracy

A numeric vector representing the accuracy needed to guarantee (percent).

alpha

A numeric vector specifying the statistical significance level.

Details

This is a direct corollary of the accuracy guarantee of the accuracy derivation in /extra_docs/accuracy/accuracy.pdf

Value

The scalar epsilon necessary to guarantee the needed accuracy.

The scalar epsilon necessary to guarantee the needed accuracy.


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