Class AcrossReplicationRelativePrecisionChecker

    • Field Detail

      • myConfidenceLevel

        protected double myConfidenceLevel
        The confidence level for within replication half-width checking. The default is Statistic.DEFAULT_CONFIDENCE_LEVEL
      • myDesiredRelativePrecision

        protected double myDesiredRelativePrecision
        The desired relative precision for stopping
    • Constructor Detail

      • AcrossReplicationRelativePrecisionChecker

        public AcrossReplicationRelativePrecisionChecker​(double desiredPrecision)
        Creates a new instance of StatisticalObserver
        Parameters:
        desiredPrecision - desired precision
      • AcrossReplicationRelativePrecisionChecker

        public AcrossReplicationRelativePrecisionChecker​(double desiredPrecision,
                                                         java.lang.String name)
        Creates a new instance of StatisticalObserver
        Parameters:
        desiredPrecision - the desired precision
        name - the name
    • Method Detail

      • setConfidenceLevel

        public void setConfidenceLevel​(double alpha)
        Sets the confidence level for the statistic
        Parameters:
        alpha - must be > 0.0
      • getConfidenceLevel

        public double getConfidenceLevel()
        Returns:
        the confidence level
      • setDesiredRelativePrecision

        public final void setDesiredRelativePrecision​(double desiredPrecision)
        Sets the desired relative precision
        Parameters:
        desiredPrecision - the desired relative precision
      • getDesiredRelativePrecision

        public final double getDesiredRelativePrecision()
        Gets the current desired half-width
        Returns:
        the current desired half-width