Documentation of 'umontreal.iro.lecuyer.probdistmulti.BiNormalGenzDist' Java class
BiNormalGenzDist
umontreal.iro.lecuyer.probdistmulti

Class BiNormalGenzDist



  • public class BiNormalGenzDist
    extends BiNormalDist
    Extends the class BiNormalDist for the bivariate normal distribution using Genz's algorithm as described in.
    • Constructor Detail

      • BiNormalGenzDist

        public BiNormalGenzDist(double rho)
        Constructs a BiNormalGenzDist object with default parameters μ1 = μ2 = 0, σ1 = σ2 = 1 and correlation ρ = rho.
      • BiNormalGenzDist

        public BiNormalGenzDist(double mu1,
                                double sigma1,
                                double mu2,
                                double sigma2,
                                double rho)
        Constructs a BiNormalGenzDist object with parameters μ1 = mu1, μ2 = mu2, σ1 = sigma1, σ2 = sigma2 and ρ = rho.
    • Method Detail

      • cdf

        public static double cdf(double x,
                                 double y,
                                 double rho)
        Computes the standard binormal distribution with the method described in. The code for the cdf was translated directly from the Matlab code written by Alan Genz and available from his web page at http://www.math.wsu.edu/faculty/genz/homepage (the code is copyrighted by Alan Genz and is included in this package with the kind permission of the author). The absolute error is expected to be smaller than 0.5⋅10-15.
      • cdf

        public static double cdf(double mu1,
                                 double sigma1,
                                 double x,
                                 double mu2,
                                 double sigma2,
                                 double y,
                                 double rho)
      • cdf

        public double cdf(double x,
                          double y)
        Description copied from class: ContinuousDistribution2Dim
        . Computes the distribution function F(x, y):

        F(x, y) = P[X <= x, Y <= y] = ∫-∞xds-∞ydt f (s, t).

        Overrides:
        cdf in class BiNormalDist
        Parameters:
        x - value x at which the distribution function is evaluated
        y - value y at which the distribution function is evaluated
        Returns:
        distribution function evaluated at (x, y)
      • barF

        public double barF(double x,
                           double y)
        Description copied from class: ContinuousDistribution2Dim
        . Computes the upper cumulative distribution function bar(F)(x, y):

        bar(F)(x, y) = P[X >= x, Y >= y] = ∫xdsydt f (s, t).

        Overrides:
        barF in class BiNormalDist
        Parameters:
        x - value x at which the upper distribution is evaluated
        y - value y at which the upper distribution is evaluated
        Returns:
        upper distribution function evaluated at (x, y)
      • barF

        public static double barF(double mu1,
                                  double sigma1,
                                  double x,
                                  double mu2,
                                  double sigma2,
                                  double y,
                                  double rho)
      • barF

        public static double barF(double x,
                                  double y,
                                  double rho)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.