{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _kde / gaussian_kde / integrate_gaussian

function

scipy.stats._kde:gaussian_kde.integrate_gaussian

source: /scipy/stats/_kde.py :289

Signature

def   integrate_gaussian ( self mean cov )

Summary

Multiply estimated density by a multivariate Gaussian and integrate over the whole space.

Parameters

mean : aray_like

A 1-D array, specifying the mean of the Gaussian.

cov : array_like

A 2-D array, specifying the covariance matrix of the Gaussian.

Returns

result : scalar

The value of the integral.

Raises

: ValueError

If the mean or covariance of the input Gaussian differs from the KDE's dimensionality.

Aliases

  • scipy.stats.gaussian_kde.integrate_gaussian