

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
java.lang.Object gov.sandia.cognition.util.AbstractCloneableSerializable gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic gov.sandia.cognition.statistics.method.KolmogorovSmirnovConfidence.Statistic
public static class KolmogorovSmirnovConfidence.Statistic
Computes the ConfidenceStatistic associated with a KS test
Field Summary 

Fields inherited from class gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic 

nullHypothesisProbability 
Constructor Summary  

KolmogorovSmirnovConfidence.Statistic(double Ne,
double D)
Creates a new instance of Statistic 
Method Summary  

double 
getD()
Setter for D 
double 
getNe()
Getter for Ne 
double 
getTestStatistic()
Gets the statistic from which we compute the nullhypothesis probability. 
static double 
KSsignificance(double Ne,
double D)
Computes the significance of the KS test from the given degrees of freedom and Dstatistic. 
protected void 
setD(double D)
Setter for D 
protected void 
setNe(double Ne)
Setter for Ne 
Methods inherited from class gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic 

getNullHypothesisProbability, setNullHypothesisProbability, toString 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable 

clone 
Methods inherited from class java.lang.Object 

equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable 

clone 
Constructor Detail 

public KolmogorovSmirnovConfidence.Statistic(double Ne, double D)
D
 This is the Dstatistic used in the KS CDF,
usually known as the Dstatistic, which is the maximum
difference between the two distributions. I use the twotail
version of D.Ne
 This is the degrees of freedom in the KS distribution for the
CDF calculation.Method Detail 

@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 Dstatistic used in the KS CDF,
usually known as the Dstatistic, which is the maximum
difference between the two distributions. I use the twotail
version of D.
public double getD()
protected void setD(double D)
D
 This is the Dstatistic used in the KS CDF,
usually known as the Dstatistic, which is the maximum
difference between the two distributions. I use the twotail
version of D. 0.0 <= D <= 1.0public double getNe()
protected void setNe(double Ne)
Ne
 This is the degrees of freedom in the KS distribution for the
CDF calculation.public double getTestStatistic()
ConfidenceStatistic


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 