Class LogRankTest.LogRankResult
java.lang.Object
qupath.lib.analysis.stats.survival.LogRankTest.LogRankResult
- Enclosing class:
LogRankTest
Simple structure used to manage the result of a log rank test.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the calculated hazard ratio.doubleGet the lower bound of the hazard ratio confidence interval.doubleGet the upper bound of the hazard ratio confidence interval.doubleGet the calculated p-value.Returns a presentable representation of the log-rank test result, including hazard ratio and confidence interval.booleanisValid()Returns true if the p-value is not NaN.
-
Method Details
-
getResultString
Returns a presentable representation of the log-rank test result, including hazard ratio and confidence interval.- Returns:
-
isValid
public boolean isValid()Returns true if the p-value is not NaN.- Returns:
-
getPValue
public double getPValue()Get the calculated p-value.- Returns:
-
getHazardRatio
public double getHazardRatio()Get the calculated hazard ratio.- Returns:
-
getHazardRatioLowerConfidence
public double getHazardRatioLowerConfidence()Get the lower bound of the hazard ratio confidence interval.- Returns:
-
getHazardRatioUpperConfidence
public double getHazardRatioUpperConfidence()Get the upper bound of the hazard ratio confidence interval.- Returns:
-