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
othergaussian_kde instance

The other kde.

Returns
valuescalar

The result of the integral.

Raises
ValueError

If the KDEs have different dimensionality.