lmc2179 / bayesian_bootstrap

bayesian bootstrapping in python
MIT License
121 stars 17 forks source link

Use np.quantile function for central credible interval #14

Closed JulianWgs closed 2 years ago

JulianWgs commented 4 years ago

np.quantile offers the same functionality, but also interpolate between samples.

https://github.com/lmc2179/bayesian_bootstrap/blob/529758efd7a4993b3b446e9681934cb1ab50fb53/bayesian_bootstrap/bootstrap.py#L227-L238