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

bundles / scipy latest / scipy / stats / _kde / gaussian_kde / scotts_factor

function

scipy.stats._kde:gaussian_kde.scotts_factor

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

Signature

def scotts_factor(self)

Summary

Computes the bandwidth factor factor. The default is scotts_factor. A subclass can overwrite this method to provide a different method, or set it through a call to set_bandwidth.

Returns

factor : float

The bandwidth factor.

Aliases

  • scipy.stats.gaussian_kde.scotts_factor