Compute the trimmed variance
This function computes the sample variance of an array of values, while ignoring values which are outside of given limits.
Parameters: | a : array_like
limits : None or (lower limit, upper limit), optional
inclusive : (bool, bool), optional
|
---|---|
Returns: | tvar : float
|
Notes
tvar computes the unbiased sample variance, i.e. it uses a correction factor n / (n - 1).