public class AndersonDarlingDistQuick extends AndersonDarlingDist
AndersonDarlingDist for the
distribution (see).
This class implements a faster version than class
AndersonDarlingDist.decPrec| Constructor and Description |
|---|
AndersonDarlingDistQuick(int n)
Constructs an distribution for a sample of size n.
|
| Modifier and Type | Method and Description |
|---|---|
double |
barF(double x)
Returns the complementary distribution function.
|
static double |
barF(int n,
double x)
Computes the complementary distribution function
bar(F)n(x)
with parameter n.
|
double |
cdf(double x)
Returns the distribution function F(x).
|
static double |
cdf(int n,
double x)
Computes the distribution function Fn(x) with parameter n.
|
double |
density(double x)
Returns f (x), the density evaluated at x.
|
static double |
density(int n,
double x)
Computes the density of the distribution with parameter n.
|
double |
inverseF(double u)
Returns the inverse distribution function
x = F-1(u).
|
static double |
inverseF(int n,
double u)
Computes the inverse
x = Fn-1(u) of the
distribution with parameter n.
|
java.lang.String |
toString() |
getN, getParams, setNgetMean, getStandardDeviation, getVariance, getXinf, getXsup, inverseBisection, inverseBrent, setXinf, setXsuppublic AndersonDarlingDistQuick(int n)
public double density(double x)
ContinuousDistributiondensity in class AndersonDarlingDistx - value at which the density is evaluatedpublic double cdf(double x)
Distributioncdf in interface Distributioncdf in class AndersonDarlingDistx - value at which the distribution function is evaluatedpublic double barF(double x)
ContinuousDistributionbarF in interface DistributionbarF in class AndersonDarlingDistx - value at which the complementary distribution function is evaluatedpublic double inverseF(double u)
ContinuousDistributioninverseF in interface DistributioninverseF in class AndersonDarlingDistu - value at which the inverse distribution function is evaluatedpublic static double density(int n,
double x)
public static double cdf(int n,
double x)
public static double barF(int n,
double x)
public static double inverseF(int n,
double u)
public java.lang.String toString()
toString in class AndersonDarlingDistTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.