{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _mstats_extras / idealfourths

function

scipy.stats._mstats_extras:idealfourths

source: /scipy/stats/_mstats_extras.py :451

Signature

def   idealfourths ( data axis = None )

Summary

Returns an estimate of the lower and upper quartiles.

Extended Summary

Uses the ideal fourths algorithm.

Parameters

data : array_like

Input array.

axis : int, optional

Axis along which the quartiles are estimated. If None, the arrays are flattened.

Returns

idealfourths : {list of floats, masked array}

Returns the two internal values that divide data into four parts using the ideal fourths algorithm either along the flattened array (if axis is None) or along axis of data.

Aliases

  • scipy.stats._mstats_extras.idealfourths