reject_outliers¶
-
reject_outliers
(x, n=1, med=<function median>, std=<function std>)[source]¶ Calculates the median and standard deviation of the sample rejecting the outliers.
Parameters: - x (Iterable) – Input data.
- n (int) – Number of standard deviations.
- med (callable, optional) – Median function.
- std (callable, optional) – Standard deviation function.
Returns: Median and standard deviation.
Return type: