EmpCDF {VineCopula} | R Documentation |
Corrected Empirical CDF
Description
The empirical CDF with tail correction, ensuring that its output is never 0 or 1.
Usage
EmpCDF(x)
Arguments
x |
numeric vector of observations |
Details
The corrected empirical CDF is defined as
Value
A function with signature function(x)
that returns .
Examples
# fit ECDF on simulated data
x <- rnorm(100)
cdf <- EmpCDF(x)
# output is bounded away from 0 and 1
cdf(-50)
cdf(50)
[Package VineCopula version 2.5.0 Index]