public class AndersonDarlingDistribution extends Distribution
| Modifier and Type | Field and Description |
|---|---|
protected static int |
n |
protected static int |
nMax |
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name| Constructor and Description |
|---|
AndersonDarlingDistribution() |
AndersonDarlingDistribution(int n)
This general constructor creates a new Anderson-Darling distribuiton with a
specified parameter number of independent observations (degrees)
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCDF_n_1(double x)
Computes the Anderson-Darling CDF (distribution) function for default
parameter n==1.
|
double |
getCDF(double x)
Computes the Anderson-Darling CDF (distribution) function.
|
static int |
getDegrees()
This method returns the degrees parameter
|
double |
getDensity(double x)
This method computed the Anderson-Darling density function
|
double |
getMaxDensity()
Maximum value of getDensity function
|
double |
getMedian()
Maximum value of getDensity function
|
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
static int |
getParameters()
This method returns the degrees parameter
|
void |
initialize()
used for some subclass to initialize before being used
|
void |
setDegrees(int n)
This method sets the degrees parameter
|
void |
setParameters(int n)
This method sets the degrees parameter
|
protected static double |
specialCaseDensity_n_1(double x)
This method gets the special case of the density function for
parameter n=1
|
void |
valueChanged() |
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMean, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, getVariance, inverseCDF, logGamma, paramEstimate, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, simulate, update, valueChangedcreateComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSettersprotected static int n
protected static final int nMax
public AndersonDarlingDistribution(int n)
n - number of independent observations (degrees)public AndersonDarlingDistribution()
public void initialize()
Distributioninitialize in class Distributionpublic void valueChanged()
valueChanged in class Distributionpublic void setDegrees(int n)
n - number of independent observations (degrees)public void setParameters(int n)
n - number of independent observations (degrees)public static int getDegrees()
public static int getParameters()
protected static double specialCaseDensity_n_1(double x)
x - value to assess the density constant atpublic double getDensity(double x)
getDensity in class Distributionx - value to assess the density atpublic double getMaxDensity()
getMaxDensity in class Distributionpublic double getMedian()
getMedian in class Distributionpublic double getCDF_n_1(double x)
x - value to assess the CDF atpublic double getCDF(double x)
getCDF in class Distributionx - value to assess the CDF atpublic java.lang.String getOnlineDescription()
getOnlineDescription in class Distribution