Class ConfidenceInterval
- java.lang.Object
-
- dev.nm.stat.evt.evd.univariate.fitting.ConfidenceInterval
-
public class ConfidenceInterval extends Object
This class stores information for a list of confidence intervals, with the same confidence level.
-
-
Constructor Summary
Constructors Constructor Description ConfidenceInterval(double confidenceLevel, Vector mean, Vector lower, Vector upper)
Create an instance with the confidence interval information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getConfidenceLevel()
Get the confidence level.Vector
getLower()
Get the lower bounds of the confidence intervals.Vector
getMean()
Get the mean values.Vector
getUpper()
Get the upper bounds of the confidence intervals.
-
-
-
Constructor Detail
-
ConfidenceInterval
public ConfidenceInterval(double confidenceLevel, Vector mean, Vector lower, Vector upper)
Create an instance with the confidence interval information.- Parameters:
confidenceLevel
- the confidence levelmean
- the mean valueslower
- the lower bound values of the confidence intervalsupper
- the upper bound values of the confidence intervals
-
-
Method Detail
-
getConfidenceLevel
public double getConfidenceLevel()
Get the confidence level.- Returns:
- the confidence level
-
getMean
public Vector getMean()
Get the mean values.- Returns:
- the mean values
-
getLower
public Vector getLower()
Get the lower bounds of the confidence intervals.- Returns:
- the lower bounds
-
getUpper
public Vector getUpper()
Get the upper bounds of the confidence intervals.- Returns:
- the upper bounds
-
-