calc_dkw {detzrcr}R 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


[Package detzrcr version 0.3.1 Index]