SciPy

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_kde

gaussian_kde.integrate_kde(self, other)[source]

Computes the integral of the product of this kernel density estimate with another.

Parameters
othergaussian_kde instance

The other kde.

Returns
valuescalar

The result of the integral.

Raises
ValueError

If the KDEs have different dimensionality.

Previous topic

scipy.stats.gaussian_kde.integrate_box

Next topic

scipy.stats.gaussian_kde.pdf