emcdf {CNPS} | R Documentation |
Finding confidence interval for the population cdf.
emcdf(x, conf.level = 0.05)
x |
numeric vector of data values |
conf.level |
confidence level for the returned confidence interval |
This "emcdf" constructs the approximation interval according to the central limit theorem. And use "plot(emcdf(data))" will help us draw a plot conveniently.
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 |
Jiasheng Zhang, Feng Yu, Yangyang Zhang, Siwei Deng. Tutored by YuKun Liu and Dongdong Xiang.
Higgins, J. J. (2004). An introduction to modern nonparametric statistics. Pacific Grove, CA: Brooks/Cole.
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)