varianceSensitivity: Sensitivity of sample variance

Description Usage Arguments Value Examples

View source: R/statistic-variance.R

Description

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

Usage

1

Arguments

n

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

rng

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

Value

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

Examples

1
varianceSensitivity(2,c(0,10)) #should return 50

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