ks.plot.unif: Plot the ECDF of a uniform sample with Kolmogorov-Smirnov bounds
Description
This plot function takes a univariate sample that should be tested for
a U(0,1) distribution, plots its empirical cumulative distribution
function (ecdf), and adds a confidence band by inverting
the corresponding Kolmogorov-Smirnov test (ks.test). The
uniform distribution is rejected if the ECDF is not completely inside
the confidence band.
George Marsaglia and Wai Wan Tsang and Jingbo Wang (2003):
Evaluating Kolmogorov's distribution.
Journal of Statistical Software, 8 (18).
tools:::Rd_expr_doi("10.18637/jss.v008.i18")
See Also
ks.test for the Kolmogorov-Smirnov test, as well as
checkResidualProcess, which makes use of this plot
function.