ECDF as an Element?
See original GitHub issueI was thinking of putting together a PR for this, but wanted to see what people thought before investing the effort. I think empirical cumulative distribution functions (ECDFs) are very important plots for visualizing how data are distributed. I argue that because there is no choice of binning or bandwidth, and all data are plotted, they are even better than histograms (hv.Histogram
) and KDEs (hv.Distribution
). Below is a comparison of a histogram and an ECDF.
I would like to make a new plotting element, hv.ECDF
. Are the core devs open to this idea?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:33 (27 by maintainers)
Top Results From Across the Web
Empirical distribution function - Wikipedia
In statistics, an empirical distribution function (commonly also called an empirical Cumulative Distribution Function, eCDF) is the distribution function ...
Read more >ECDF as an Element? · Issue #3821 · holoviz/holoviews · GitHub
I argue that because there is no choice of binning or bandwidth, and all data are plotted, they are even better than histograms...
Read more >MATLAB ecdf - Empirical cumulative distribution function
This MATLAB function returns the empirical cumulative distribution function f, evaluated at x, using the data in y.
Read more >Empirical Cumulative Distribution Function (CDF) Plots
Empirical cumulative distribution function (CDF) plots display data points in your sample from lowest to highest against their percentiles.
Read more >ecdf (Statistics Toolbox)
Boolean vector of the same size as x . Elements are 1 for observations that are right-censored and 0 for observations that are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this is the right approach as well. I’d suggest implementing this either as a new operation or as a parameter on the existing
univariate_kde
operation (if that makes sense) and then expose it as a plot option onhv.Distribution
.Does any of this discussion need updating now that Elements store reproducible pipelines of the operations used to construct them? It doesn’t have to, but it’s now possible to e.g. get at the underlying data of a histogram whether or not it’s available on .data of a Histogram element.