Interface Jackknife.Statistic

All Known Implementing Classes:
Jackknife.AbstractStatistic
Enclosing class:
Jackknife

public static interface Jackknife.Statistic
A statistic to be estimated using the jackknife on a set of samples.
  • Method Details

    • compute

      BigDecimal[] compute(BigDecimal[] sample, MathContext mc)
      Computes the statistic.

      Note that the BigDecimal instances passed to this method are guaranteed to have a scale set by the caller. If you have to perform divisions, please use the supplied MathContext.

      Parameters:
      sample - the samples over which the statistic must be computed.
      mc - the mathematical context to be used when dividing big decimals.
      Returns:
      the resulting statistic.