Package it.unimi.dsi.stat
Interface Jackknife.Statistic
-
- All Known Implementing Classes:
Jackknife.AbstractStatistic
- Enclosing class:
- Jackknife
public static interface Jackknife.StatisticA statistic to be estimated using the jackknife on a set of samples.
-
-
Method Summary
Modifier and Type Method Description BigDecimal[]compute(BigDecimal[] sample, MathContext mc)Computes the statistic.
-
-
-
Method Detail
-
compute
BigDecimal[] compute(BigDecimal[] sample, MathContext mc)
Computes the statistic.Note that the
BigDecimalinstances passed to this method are guaranteed to have a scale set by the caller. If you have to perform divisions, please use the suppliedMathContext.- 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.
-
-