Class LogRankTest.LogRankResult

java.lang.Object
qupath.lib.analysis.stats.survival.LogRankTest.LogRankResult
Enclosing class:
LogRankTest

public static class LogRankTest.LogRankResult extends Object
Simple structure used to manage the result of a log rank test.
Author:
Pete Bankhead
  • Method Details

    • getResultString

      public String 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: