Description Usage Arguments Details Value Author(s) See Also Examples
Provide empirical cumulative density function (CDF) estimation of a sample vector xx at a point c_0.
1 | empirical.cdf(xx, c0)
|
xx |
A numeric vector, sample data. |
c0 |
A numerical value, the value at which the CDF will be estimated. |
The CDF of xx at c0 is estimated as ∑{I_{(xx ≤ c_0)}/n} where n is the length of xx and I(.) is the indicator function giving 1 if the criterion in the bracket is satisfied and 0 otherwise.
Return a numerical value indicating the cumulative probability of xx at c_0 by empirical CDF method.
Jingqin Luo
KernelSmoothing.cdf
Youden3Grp
1 2 3 | x <- rnorm(100)
res <- empirical.cdf(xx=x,c0=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.