calc_dkw: Dvoretzky-Kiefer-Wolfowitz inequality

Description Usage Arguments Value References

View source: R/calculations.R

Description

Calculate confidence bands for ecdfs using the Dvoretzky-Kiefer-Wolfowitz inequality.

Usage

1
calc_dkw(dat, column = "age", alpha = 0.05)

Arguments

dat

data.frame

column

which column to use

alpha

Desired alpha level

Value

data.frame with ecdf and confidence bands

References

Dvoretzky, A., Kiefer, J., Wolfowitz, J., 1956. Asymptotic Minimax Character of the Sample Distribution Function and of the Classical Multinomial Estimator. Ann. Math. Stat. 27, 642-669. doi:10.1214/aoms/1177728174


detzrcr documentation built on July 23, 2020, 9:06 a.m.