scipy.stats.trim1

scipy.stats.trim1(a, proportiontocut, tail='right')

Slices off the passed proportion of items from ONE end of the passed array (i.e., if proportiontocut=0.1, slices off ‘leftmost’ or ‘rightmost’ 10% of scores). Slices off LESS if proportion results in a non-integer slice index (i.e., conservatively slices off proportiontocut).

Returns: trimmed version of array a

Previous topic

scipy.stats.trimboth

Next topic

scipy.stats.cov

This Page

Quick search