depth_based_median#

skfda.exploratory.stats.depth_based_median(X, depth_method=None)[source]#

Compute the median based on a depth measure.

The depth based median is the deepest curve given a certain depth measure.

Parameters:
  • X (T) – Object containing different samples of a functional variable.

  • depth_method (Depth[T] | None) – Depth method used to order the data. Defaults to modified band depth.

Returns:

Object containing the computed depth_based median.

Return type:

T