question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ECDF as an Element?

See original GitHub issue

I 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?

image

image

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:33 (27 by maintainers)

github_iconTop GitHub Comments

2reactions
philippjfrcommented, Jul 16, 2019

Just an idea, one might even consider a plot option cumulative=True/False on Distribution, but I haven’t thought that one through.

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 on hv.Distribution.

0reactions
jbednarcommented, Nov 22, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found