Class ConfidenceInterval


  • public class ConfidenceInterval
    extends Object
    This class stores information for a list of confidence intervals, with the same confidence level.
    • 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 level
        mean - the mean values
        lower - the lower bound values of the confidence intervals
        upper - 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