All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class NormalInverse extends NaryFunction
Inverse Normal distribution. NormalInverse(p, mu, sigma) returns the value x such that the cumulative distribution function of the normal distribution with mean mu and standard deviation sigma evaluated at x is equal to p. Accurate to about 7 digits. References Wikipedia Approximating the erfinv function by Mike Giles.
Author:
rich
See Also:
  • Constructor Details

    • NormalInverse

      public NormalInverse()
  • Method Details

    • eval

      public Object eval(Object[] args) throws EvaluationException
      Description copied from class: NaryFunction
      Evaluate the function
      Specified by:
      eval in class NaryFunction
      Parameters:
      args - arguments to the function
      Returns:
      value returned by the function
      Throws:
      EvaluationException - if the calculation cannot be performed
    • ierf

      public static double ierf(double x)
    • ierfCen

      public static double ierfCen(double x)
    • iscdf

      public static double iscdf(double z)
    • icdf

      public static double icdf(double p, double mu, double sd)