emcdf {CNPS} | R Documentation |
Estimating the population cdf
Description
Finding confidence interval for the population cdf.
Usage
emcdf(x, conf.level = 0.05)
Arguments
x |
numeric vector of data values |
conf.level |
confidence level for the returned confidence interval |
Details
This "emcdf" constructs the approximation interval according to the central limit theorem. And use "plot(emcdf(data))" will help us draw a plot conveniently.
Value
A list with following components
sample |
the given vector |
empirical.cdf |
the value of the empirical cdf |
Lower |
the lower bound of the confidence interval of the empirical cdf |
Upper |
the upper bound of the confidence interval of the empirical cdf |
Author(s)
Jiasheng Zhang, Feng Yu, Yangyang Zhang, Siwei Deng. Tutored by YuKun Liu and Dongdong Xiang.
References
Higgins, J. J. (2004). An introduction to modern nonparametric statistics. Pacific Grove, CA: Brooks/Cole.
Examples
x <- c(7,11,15, 16, 20, 22, 24, 25, 29, 33, 34, 37, 41, 42, 49, 57, 66, 71, 84, 90)
em <- emcdf(x)
plot(em)
[Package CNPS version 1.0.0 Index]