Package jdistlib

Class DistributionAnalysis

java.lang.Object
jdistlib.DistributionAnalysis

public final class DistributionAnalysis extends Object
Numerical self-consistency checks for a constructed distribution.
  • Method Details

    • getFindings

      public List<DiagnosticFinding> getFindings()
    • getNormalizationRelativeError

      public double getNormalizationRelativeError()
    • getMaximumTailDisagreement

      public double getMaximumTailDisagreement()
    • getMaximumQuantileRoundTripError

      public double getMaximumQuantileRoundTripError()
    • getMean

      public double getMean()
    • getVariance

      public double getVariance()
    • getFirstAbsoluteMoment

      public double getFirstAbsoluteMoment()
      Returns the estimated first absolute moment, E[|X|].
    • getSecondAbsoluteMoment

      public double getSecondAbsoluteMoment()
      Returns the estimated second absolute moment, E[|X|^2].
    • areMomentsStable

      public boolean areMomentsStable()
    • getAbsoluteMoments

      public List<AbsoluteMomentAnalysis> getAbsoluteMoments()
    • getAbsoluteMoment

      public AbsoluteMomentAnalysis getAbsoluteMoment(double order)
      Returns the requested order's report, or null when it was not requested.
    • hasErrors

      public boolean hasErrors()
    • hasWarnings

      public boolean hasWarnings()
    • toJson

      public String toJson()
      Returns a versioned RFC 8259 JSON diagnostic report.