meanSensitivity: Sensitivity of mean

Description Usage Arguments Value Examples

View source: R/utilities-mean.R

Description

For a detailed derivation of the sensitivity, see /extra_docs/sensitivities/mean_sensitivity.pdf

Usage

1

Arguments

rng

Numeric vector of length two; first entry is minimal bound on the database entries, second is maximal bound on the database entries.

n

Numeric vector of length one; the number of datapoints in the database.

Value

Numeric vector of length one; a maximal bound on the sensitivity of the population variance.

Examples

1
meanSensitivity(c(0,10),5) #should return 2

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