volume-weighted ECDF code
This zip folder contains the source code to generate 95% empirical bootstrap confidence intervals The .html and .ipynb file are identical. The code was written with Python version 3.6.4. It has been verified to work with numpy version 1.13.3, pandas version 0.21.1, scipy version 1.0.0, bokeh version 0.12.15, and holoviews version 1.9.1. The test data folder provides data that can be used to verify that the code is working. Make sure to change the file paths to what is appropriate for your computer. The test data will reproduce Figure 5, Panel A from the main text. This data was also provided as part of “Figure 5 – source data 1”.