cobsurv.models.distance_functions.distance_euler#
- cobsurv.models.distance_functions.distance_euler(prob1, prob2, times)#
Calculates the area between two curves estimated by the euler rule :param prob1: The first curve :type prob1: 1d array :param prob2: The second curve :type prob2: 1d array :param times: The times at which the curves are evaluated :type times: 1d array
- Returns:
area – The area between the curves
- Return type:
float