bundles / scipy latest / scipy / stats / _mstats_basic / tvar
function
scipy.stats._mstats_basic:tvar
Signature
def tvar ( a , limits = None , inclusive = (True, True) , axis = 0 , ddof = 1 ) Summary
Compute the trimmed variance
Extended Summary
This function computes the sample variance of an array of values, while ignoring values which are outside of given limits.
Parameters
a: array_likeArray of values.
limits: None or (lower limit, upper limit), optionalValues in the input array less than the lower limit or greater than the upper limit will be ignored. When limits is None, then all values are used. Either of the limit values in the tuple can also be None representing a half-open interval. The default value is None.
inclusive: (bool, bool), optionalA tuple consisting of the (lower flag, upper flag). These flags determine whether values exactly equal to the lower or upper limits are included. The default value is (True, True).
axis: int or None, optionalAxis along which to operate. If None, compute over the whole array. Default is zero.
ddof: int, optionalDelta degrees of freedom. Default is 1.
Returns
tvar: floatTrimmed variance.
Notes
For more details on tvar, see scipy.stats.tvar.
Aliases
-
scipy.stats._mstats_basic.tvar