|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.science.Bootstrap.Estimate
public static class Bootstrap.Estimate
Holds a complete (point and interval) estimate for some Bootstrap.Estimator
.
This class is multithread safe: it is immutable (both its immediate state, as well as the deep state of its fields).
Field Summary | |
---|---|
protected double |
confidenceLevel
Specifies the confidence level of the confidence intervals. |
protected double |
lower
Is the lower bound (start of the confidence interval) of the estimate. |
protected double |
point
Records a single value ("point") estimate. |
protected double |
upper
Is the upper bound (end of the confidence interval) of the estimate. |
Constructor Summary | |
---|---|
Bootstrap.Estimate(double point,
double lower,
double upper,
double confidenceLevel)
|
Method Summary | |
---|---|
boolean |
confidenceIntervalContains(double value)
|
double |
getConfidenceLevel()
|
double |
getLower()
|
double |
getPoint()
|
double |
getUpper()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final double point
Contract: may be any value, including NaN (if undefined) or infinity.
protected final double lower
Contract: may be any value, including NaN (if undefined) or infinity.
However, if NaN, then upper
must also be NaN,
and if not NaN, then upper must also be not NaN and lower must be <= upper.
protected final double upper
Contract: same as lower
.
protected final double confidenceLevel
Units: none; is a dimensionless fractional number in the range (0, 1).
Note: the percent confidence level is 100 times this quantity.
Contract: must be inside the open interval (0, 1), and is never NaN or infinite.
Constructor Detail |
---|
public Bootstrap.Estimate(double point, double lower, double upper, double confidenceLevel) throws IllegalArgumentException
IllegalArgumentException
Method Detail |
---|
public double getPoint()
public double getLower()
public double getUpper()
public double getConfidenceLevel()
public String toString()
toString
in class Object
public boolean confidenceIntervalContains(double value) throws IllegalArgumentException
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |