laplaceGetAccuracy: Get accuracy for Laplace statistics

Description Usage Arguments Value

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

Description

Function to find the accuracy guarantee of a statistic release at a given epsilon value.

Function to find the accuracy guarantee of a statistic release at a given epsilon value. This accuracy guarantee is derived in /extra_docs/accuracy/accuracy.pdf

Usage

1
2
3
laplaceGetAccuracy(sensitivity, epsilon, alpha = 0.05)

laplaceGetAccuracy(sensitivity, epsilon, alpha = 0.05)

Arguments

sensitivity

the sensitivity of the statistic

epsilon

A numeric vector representing the epsilon privacy parameter. Should be of length one and should be between zero and one.

alpha

A numeric vector specifying the statistical significance level.

sensitivity

the sensitivity of the statistic

epsilon

A numeric vector representing the epsilon privacy parameter. Should be of length one and should be between zero and one.

alpha

A numeric vector specifying the statistical significance level.

Value

Accuracy guarantee for statistic release given epsilon.

Accuracy guarantee for statistic release given epsilon.


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