This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.stats.gaussian_kde.integrate_box_1d¶
-
gaussian_kde.
integrate_box_1d
(self, low, high)[source]¶ Computes the integral of a 1D pdf between two bounds.
- Parameters
- lowscalar
Lower bound of integration.
- highscalar
Upper bound of integration.
- Returns
- valuescalar
The result of the integral.
- Raises
- ValueError
If the KDE is over more than one dimension.