For sample [1,1,3,5], what is the empirical CDF at x=1?
StatisticsLevel: FoundationEmpirical distributions and survival
For sample [1,1,3,5], what is the empirical CDF at x=1?
Hints
- Equality is included.
- Count ties together.
Answer
2/4=0.5. Tied observations produce a jump larger than 1/n; both equal values are included.
Source and licence: SciPy — empirical distributions and censored survival · BSD-3-Clause · answer: Quantoros editorial