qp.cluster.spheres_bad.box_outlier_thres

qp.cluster.spheres_bad.box_outlier_thres(data, coeff=1.5)[source]

Compute the threshold for the boxplot outlier detection method

Parameters:
  • data (list) – The data for the boxplot statistics

  • coeff (float) – The coefficient for the outlier criterion from quartiles of the data

Returns:

  • lb (float) – the lower bound of non-outliers

  • ub (float) – the upper bound of non-outliers