dpMean-class: Differentially private mean

Description Arguments

Description

Differentially private mean

Arguments

mechanism

Character, the privacy mechanism. For dpMean, one of c('mechanismLaplace', 'mechanismBootstrap').

varType

Character, the R variable type. One of c('numeric', 'integer', 'logical').

Variable

Character, variable name.

n

Integer, number of observations

rng

Numeric, a priori estimate of the range

epsilon

Numeric, privacy cost parameter

accuracy

Numeric, accuracy guarantee given epsilon

imputeRng

Numeric, range within which missing values are imputed. If NULL, the range provided in rng is used.

alpha

Numeric, the level of statistical significance. Default 0.05.

nBoot

Integer, the number of bootstrap replications if using the bootstrap bootstrap mechanism, ignored otherwise. Default 20.


privacytoolsproject/PSI-Library documentation built on Feb. 17, 2020, 2:03 p.m.