Mimic of apache commons2 math ConfidenceInterval without parameter checks http://home.apache.org/~luc/commons-math-3.6-RC2-site/jacoco/org.apache.commons.math3.stat.interval/ConfidenceInterval.java.html
| Modifiers | Name | Description |
|---|---|---|
static java.lang.Object |
NULL |
| Constructor and description |
|---|
MaterialStats.ConfidenceInterval
(double lowerBound, double upperBound, double confidenceLevel)Create a confidence interval with the given bounds and confidence level. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
equals(java.lang.Object obj) |
|
double |
getConfidenceLevel()@return the asserted probability that the interval contains the population parameter |
|
double |
getLowerBound()@return the lower endpoint of the interval |
|
double |
getUpperBound()@return the upper endpoint of the interval |
|
int |
hashCode() |
|
java.lang.String |
toJsonText() |
|
java.lang.String |
toString()@return String representation of the confidence interval |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a confidence interval with the given bounds and confidence level.
Preconditions:
lower must be strictly less than upperconfidenceLevel must be strictly between 0 and 1 (exclusive)lowerBound - lower endpoint of the intervalupperBound - upper endpoint of the intervalconfidenceLevel - coverage probability