public class GaussianUtility
extends java.lang.Object
| Constructor and Description |
|---|
GaussianUtility() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getBivariateCumulativeProbability(double x1,
double x2,
boolean complementary1,
boolean complementary2,
double rho)
This method returns the cumulative probability or complementary probability of a bivariate standard normal
distribution for quantiles x1 and x2.
|
static double |
getBivariateCumulativeProbability(double x1,
double x2,
double rho)
This method returns the cumulative probability probability of a bivariate standard normal
distribution for quantiles x1 and x2.
|
static double |
getCumulativeProbability(double x)
This method returns the cumulative probability probability of a standard normal
distribution for quantile x.
|
static double |
getCumulativeProbability(double x,
boolean complementary)
This method returns the cumulative probability or the complementary probability of a standard normal
distribution for quantile x.
|
static double |
getQuantile(double cdfValue)
This method returns the quantiles of the distribution.
|
public static double getBivariateCumulativeProbability(double x1,
double x2,
double rho)
x1 - the first quantilex2 - the second quantilerho - the correlation parameterpublic static double getBivariateCumulativeProbability(double x1,
double x2,
boolean complementary1,
boolean complementary2,
double rho)
x1 - the first quantilex2 - the second quantilecomplementary1 - a boolean true to obtain the complementary probability with respect to quantile x1 or false for the cumulative probabilitycomplementary2 - a boolean true to obtain the complementary probability with respect to quantile x2 or false for the cumulative probabilityrho - the correlation parameterpublic static double getCumulativeProbability(double x)
x - the quantilepublic static double getCumulativeProbability(double x,
boolean complementary)
x - the quantilecomplementary - a boolean true to obtain the complementary probability or false to get the cumulative probabilitypublic static double getQuantile(double cdfValue)
cdfValue - the cumulative density