{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _stats_py / _validate_distribution

function

scipy.stats._stats_py:_validate_distribution

source: /scipy/stats/_stats_py.py :9860

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