public static class KolmogorovSmirnovConfidence.Statistic extends AbstractConfidenceStatistic
nullHypothesisProbability| Constructor and Description | 
|---|
Statistic(double Ne,
         double D)
Creates a new instance of Statistic 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getD()
Setter for D 
 | 
double | 
getNe()
Getter for Ne 
 | 
double | 
getTestStatistic()
Gets the statistic from which we compute the null-hypothesis probability. 
 | 
static double | 
KSsignificance(double Ne,
              double D)
Computes the significance of the K-S test from the given degrees of
 freedom and D-statistic. 
 | 
protected void | 
setD(double D)
Setter for D 
 | 
protected void | 
setNe(double Ne)
Setter for Ne 
 | 
getNullHypothesisProbability, setNullHypothesisProbability, toStringcloneequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclonepublic Statistic(double Ne,
                 double D)
D - This is the D-statistic used in the K-S CDF,
 usually known as the D-statistic, which is the maximum
 difference between the two distributions.  I use the two-tail
 version of D.Ne - This is the degrees of freedom in the K-S distribution for the
 CDF calculation.@PublicationReference(author={"William H. Press","Saul A. Teukolsky","William T. Vetterling","Brian P. Flannery"}, title="Numerical Recipes in C, Second Edition", type=Book, year=1992, pages=624, notes={"Section 14.3","Equation 14.3.9"}) public static double KSsignificance(double Ne, double D)
Ne - Number of degrees of freedom in the dataD - This is the D-statistic used in the K-S CDF,
 usually known as the D-statistic, which is the maximum
 difference between the two distributions.  I use the two-tail
 version of D.public double getD()
protected void setD(double D)
D - This is the D-statistic used in the K-S CDF,
 usually known as the D-statistic, which is the maximum
 difference between the two distributions.  I use the two-tail
 version of D.  0.0 <= D <= 1.0public double getNe()
protected void setNe(double Ne)
Ne - This is the degrees of freedom in the K-S distribution for the
 CDF calculation.public double getTestStatistic()
ConfidenceStatistic