arviz-devs / arviz-stats

Statistical computation and diagnostics for ArviZ.
https://arviz-stats.readthedocs.io
Apache License 2.0
2 stars 1 forks source link

Ensure KDE is normalized #30

Closed sethaxen closed 1 month ago

sethaxen commented 1 month ago

As discussed in https://github.com/arviz-devs/arviz-stats/pull/28#discussion_r1797785930, the KDE is not always normalized to exactly 1. This PR ensures that it is and adds a corresponding test.


📚 Documentation preview 📚: https://arviz-stats--30.org.readthedocs.build/en/30/