Open sethaxen opened 8 months ago
Also, when the evaluation points are different from the sample points, it feels a little weird using step plots. Step plots give the sense that we know what the function values are between the points, but unlike the full ECDF, we don't. Line plots aren't much better, but we're more accustomed to lines in lineplots not necessarily implying interpolation. I wonder if we should only reserve step plots for the cases where eval points and sample points are the same (Edit: or at least make stepping configurable)
Tell us about it
Here are some proposed improvements to ECDF plots:
cdf
and anrvs
function for the assumed distribution.fpr
. A more consistent one with our API would be to specify aprob=1-fpr
.values2
. This is supposedly for ECDF comparison, but it's not as useful as the ECDF comparison plot from the paper, which we should consider making its own plot.Thoughts on implementation
This notebook implements the bands and tests them on a few distributions. It also compares different methods of selecting the evaluation points.