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.
- Author:
- Sebastiano Vigna
-
Method Summary
Modifier and TypeMethodDescriptioncompute(BigDecimal[] sample, MathContext mc) Computes the statistic.
-
Method Details
-
compute
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.
-