robust_stats#

agabpylib.stats.robuststats.robust_stats(x, ax=None)#

Provide robust statistics of the values in array x (which can be of any dimension).

Parameters:
  • x (float array) – Input array (numpy array is assumed)

  • ax (int) – Axis along which the statistics are computed. Default is None. If None, compute over the whole array x.

Returns:

stats – Dictionary {‘median’:median, ‘rse’:RSE, ‘lowerq’:lower quartile, ‘upperq’:upper quartile, ‘min’:minimum value, ‘max’:maximum value}

Return type:

dict