ECDF result
Datasets
Data preprocessing
Plot configuration
Percentiles, thresholds, and annotations
Theoretical CDF comparison
Distribution comparison
Statistical summary
No active datasetDetailed ECDF table
| Rank | Value | Frequency | Weight | Cumulative count | Cumulative weight | ECDF | ECDF percentage |
|---|---|---|---|---|---|---|---|
| No calculated data. | |||||||
Export and session tools
Formula used
Fₙ(x) = (1 / n) Σ I(xᵢ ≤ x)
For weighted observations, cumulative weight replaces cumulative count. The result is divided by total valid weight.
Fₙ,w(x) = Σ wᵢ I(xᵢ ≤ x) / Σ wᵢ
The ECDF rises at observed values. Larger jumps indicate repeated values or greater observation weights.
How to use
- Paste numeric observations into one or more dataset cards.
- Add optional nonnegative weights with one weight per value.
- Choose preprocessing, step behavior, scales, and annotations.
- Select Calculate ECDF to update every result section.
- Use percentile, theoretical, and comparison tools as needed.
- Export the graph, tables, report, or reusable configuration.
Example data
| Use case | Dataset A | Dataset B | Interpretation |
|---|---|---|---|
| Train-test shift | Training feature values | Testing feature values | A wide vertical gap suggests distribution shift. |
| Prediction errors | Model A absolute errors | Model B absolute errors | A curve further left generally indicates smaller errors. |
| Model latency | Baseline milliseconds | Optimized milliseconds | Compare percentiles such as P50, P90, and P99. |
Machine learning applications
ECDF plots reveal complete empirical distributions without histogram bins. They help compare features, residuals, predictions, scores, and latency.
Training and testing curves can expose covariate shift. Grouped curves can also support fairness and robustness reviews.
Percentile analysis is valuable for service-level targets. Tail behavior often matters more than averages.
Frequently asked questions
What does an ECDF show?
It shows the proportion of observations less than or equal to each value.
Why use an ECDF instead of a histogram?
An ECDF avoids arbitrary bin widths and displays every observation.
What does a steep ECDF section mean?
Many observations are concentrated within a narrow value range.
How are repeated values handled?
Repeated values create a larger vertical jump at that value.
Can ECDFs compare train and test data?
Yes. Separation between curves can reveal distribution shift.
What is a complementary ECDF?
It shows the proportion greater than each threshold, emphasizing tails.
What is a weighted ECDF?
Each observation contributes according to its assigned nonnegative weight.
What does the KS statistic measure?
It is the largest vertical difference between two cumulative distributions.
Can this calculator estimate percentiles?
Yes. It returns the first value reaching the requested probability.