pyfli.cm_stats.robust#

Robust location/scale: median and median absolute deviation (MAD), and the MAD-to-sigma factor of a normal distribution.

Functions

median_absolute_deviation(values)

(median, MAD) of all elements of values; MAD_TO_SIGMA * MAD estimates sigma.

median_absolute_deviation(values)[source]#

(median, MAD) of all elements of values; MAD_TO_SIGMA * MAD estimates sigma.

Parameters:

values (Any)

Return type:

tuple[float, float]