calc_dkw: Dvoretzky-Kiefer-Wolfowitz inequality

View source: R/calculations.R

calc_dkwR Documentation

Dvoretzky-Kiefer-Wolfowitz inequality

Description

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

Usage

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


magnuskristoffersen/detzrcr documentation built on Nov. 17, 2022, 12:48 a.m.