Class AbstractQuantityStatisticPredicate<S>

    • Constructor Detail

      • AbstractQuantityStatisticPredicate

        protected AbstractQuantityStatisticPredicate​(QuantityEnvironment<S> environment)
    • Method Detail

      • inverseGaussianCumulativeDistributionFunction

        protected S inverseGaussianCumulativeDistributionFunction​(S value)
        Evaluate the inverse Gaussian Cumulative Distribution Function and return the result as an element of the backing field. This method uses Cheating for the time being.
        Parameters:
        value -
        Returns:
      • subtractQuantities

        protected QuantifiedValue<S> subtractQuantities​(QuantifiedValue<S> left,
                                                        QuantifiedValue<S> right)
        Calculates the difference of two quantities (including error propagation)
        Parameters:
        left - left operand
        right - right operand
        Returns:
        the difference as a quantity
      • zTestValueForDifference

        protected S zTestValueForDifference​(QuantifiedValue<S> left,
                                            QuantifiedValue<S> right)
        Calculate the z-test z value for the difference of the two values (number of sigmas the difference of the mean values is away from zero)
        Parameters:
        left - the left operand
        right - the right operand
        Returns:
        the z value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object