|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.science.Bootstrap.EstimatorMedian
public static class Bootstrap.EstimatorMedian
Calculates a point estimate for the population's median from sample.
This class is multithread safe: it is stateless.
Constructor Summary | |
---|---|
Bootstrap.EstimatorMedian()
|
Method Summary | |
---|---|
double |
calculate(double[] sample)
Calculates a point estimate for the statistic based on sample. |
String |
getName()
Returns the name of the Estimator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bootstrap.EstimatorMedian()
Method Detail |
---|
public String getName()
Bootstrap.Estimator
Contract: the result is never blank (null or empty).
getName
in interface Bootstrap.Estimator
public double calculate(double[] sample) throws IllegalArgumentException
Bootstrap.Estimator
calculate
in interface Bootstrap.Estimator
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 |