Debian Codegraph @

man/ecdf.ksCI.Rd

raw
1 \name{ecdf.ksCI}
2 \alias{ecdf.ksCI}
3 \title{Plot Empirical Distribution Function With 95\% Confidence Curves}
4 \description{
5 Plots the empirical (cumulative) distribution function (ECDF) for
6 univariate data, together with upper and lower simultaneous 95\% confidence curves,
7 computed via Kolmogorov-Smirnov' \eqn{D}, see \code{\link{KSd}}.
8 }
9 \usage{
10 ecdf.ksCI(x, main = NULL, sub = NULL, xlab = deparse(substitute(x)),
11 ci.col = "red", \dots)
12 }
13 \arguments{
14 \item{x}{\code{x} numerical vector of observations.}
15 \item{main,sub,xlab}{arguments passed to \code{\link{title}}.}
16 \item{ci.col}{color for confidence interval lines.}
17 \item{\dots}{optional arguments passed to \code{\link{plot.stepfun}}.}
18 }
19 \value{
20 Nothing. Used for its side effect, to produce a plot.
21 }
22 \references{Bickel and Doksum, see \code{\link{KSd}}.
23 }
24 \author{Kjetil Halvorsen}
25
26 \note{Presently, will only work if \code{length(x)} > 9. }
27
28 \seealso{\code{\link{ecdf}} and \code{\link{plot.stepfun}} in standard
29 \R.
30 }
31
32 \examples{
33 ecdf.ksCI( rchisq(50,3) )
34 }
35 \keyword{hplot}