csep.utils.stats.greater_equal_ecdf

csep.utils.stats.greater_equal_ecdf(x, val, cdf=())[source]

Given val return P(x ≥ val).

Parameters:
  • x (numpy.array) – set of values

  • val (float) – value

  • ecdf (tuple) – ecdf of x, should be tuple (sorted(x), ecdf(x))

Returns:

probability that x ≤ val

Return type:

(float)