|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Bootstrap.Estimator
Specifies the api for classes that calculate an estimate for a statistic from a sample.
Implementations must be multithread safe.
Method Summary | |
---|---|
double |
calculate(double[] sample)
Calculates a point estimate for the statistic based on sample. |
String |
getName()
Returns the name of the Estimator. |
Method Detail |
---|
String getName()
Contract: the result is never blank (null or empty).
double calculate(double[] sample) throws IllegalArgumentException
IllegalArgumentException
- if sample is null or zero-length; any element of sample is NaN
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |