{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _kde / gaussian_kde / integrate_box_1d

function

scipy.stats._kde:gaussian_kde.integrate_box_1d

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

Signature

def integrate_box_1d(self, low, high)

Summary

Computes the integral of a 1D pdf between two bounds.

Parameters

low : scalar

Lower bound of integration.

high : scalar

Upper bound of integration.

Returns

value : scalar

The result of the integral.

Raises

: ValueError

If the KDE is over more than one dimension.

Aliases

  • scipy.stats.gaussian_kde.integrate_box_1d