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

bundles / scipy latest / scipy / stats / _stats_py / _validate_distribution

function

scipy.stats._stats_py:_validate_distribution

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

Signature

def _validate_distribution(values, weights)

Summary

Validate the values and weights from a distribution input of cdf_distance and return them as ndarray objects.

Parameters

values : array_like

Values observed in the (empirical) distribution.

weights : array_like

Weight for each value.

Returns

values : ndarray

Values as ndarray.

weights : ndarray

Weights as ndarray.

Aliases

  • scipy.stats._stats_py._validate_distribution