SciPy

This is documentation for an old release of SciPy (version 1.2.1). 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(other)[source]

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

Parameters:
other : gaussian_kde instance

The other kde.

Returns:
value : scalar

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