diff --git a/src/main/java/ca/joeltherrien/randomforest/responses/competingrisk/CompetingRiskFunctions.java b/src/main/java/ca/joeltherrien/randomforest/responses/competingrisk/CompetingRiskFunctions.java index e75ffd4..2e6baf9 100644 --- a/src/main/java/ca/joeltherrien/randomforest/responses/competingrisk/CompetingRiskFunctions.java +++ b/src/main/java/ca/joeltherrien/randomforest/responses/competingrisk/CompetingRiskFunctions.java @@ -26,7 +26,7 @@ public class CompetingRiskFunctions implements Serializable { } public double calculateEventSpecificMortality(final int event, final double tau){ - final MathFunction cif = getCauseSpecificHazardFunction(event); + final MathFunction cif = getCumulativeIncidenceFunction(event); double summation = 0.0; Point previousPoint = null;