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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.math.BigDecimal[] compute​(java.math.BigDecimal[] sample, java.math.MathContext mc)
      Computes the statistic.
    • Method Detail

      • compute

        java.math.BigDecimal[] compute​(java.math.BigDecimal[] sample,
                                       java.math.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.