cobsurv.models.distance_functions.distance_max#

cobsurv.models.distance_functions.distance_max(prob1, prob2, times=None)#

The maximum difference between two curves

Parameters:
  • prob1 (1d array) – The first curve

  • prob2 (1d array) – The second curve

  • times (None) – times is not needed for this distance

Returns:

max difference – The maximum difference between the two curves

Return type:

float