rse#

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

Calculate the Robust Scatter Estimate for an array of values (see GAIA-C3-TN-ARI-HL-007).

Parameters:
  • x (float array) – Array of input values (can be of any dimension)

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

Returns:

rse – The Robust Scatter Estimate (RSE), defined as 0.390152 * (P90-P10), where P10 and P90 are the 10th and 90th percentile of the distribution of x.

Return type:

float