This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _kde / gaussian_kde / marginal

function

scipy.stats._kde:gaussian_kde.marginal

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_kde.py:679

Signature

def marginal(self, dimensions)

Summary

Return a marginal KDE distribution.

Parameters

dimensions : int or 1-d array_like

The dimensions of the multivariate distribution corresponding with the marginal variables, that is, the indices of the dimensions that are being retained. The other dimensions are marginalized out.

Returns

marginal_kde : gaussian_kde

An object representing the marginal distribution.

Notes

Aliases

  • scipy.stats.gaussian_kde.marginal

Referenced by