

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.StudentTConfidence.Statistic
public static class StudentTConfidence.Statistic
Confidence statistics for a Studentt test
Field Summary 

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

nullHypothesisProbability 
Constructor Summary  

StudentTConfidence.Statistic(double t,
double degreesOfFreedom)
Creates a new instance of Statistic 

StudentTConfidence.Statistic(StudentTConfidence.Statistic other)
Copy Constructor 
Method Summary  

StudentTConfidence.Statistic 
clone()
This makes public the clone method on the Object class and
removes the exception that it throws. 
double 
getDegreesOfFreedom()
Getter for degreesOfFreedom 
double 
getT()
Getter for t 
double 
getTestStatistic()
Gets the statistic from which we compute the nullhypothesis probability. 
protected void 
setDegreesOfFreedom(double degreesOfFreedom)
Setter for degreesOfFreedom 
protected void 
setT(double t)
Setter for t 
static double 
twoTailTStatistic(double t,
double degreesOfFreedom)
Computes the likelihood that a StudentTDistribution would generate a LESS LIKELY sample as "t", given the degrees of freedom. 
Methods inherited from class gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic 

getNullHypothesisProbability, setNullHypothesisProbability, toString 
Methods inherited from class java.lang.Object 

equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
Constructor Detail 

public StudentTConfidence.Statistic(double t, double degreesOfFreedom)
t
 Value that is used in the Studentt CDF to compute the probability.
Usually just called the "tstatistic"degreesOfFreedom
 Number of degrees of freedom in the Studentt distribution, usually
the number of data points  1public StudentTConfidence.Statistic(StudentTConfidence.Statistic other)
other
 Statistic to copyMethod Detail 

public StudentTConfidence.Statistic clone()
AbstractCloneableSerializable
Object
class and
removes the exception that it throws. Its default behavior is to
automatically create a clone of the exact type of object that the
clone is called on and to copy all primitives but to keep all references,
which means it is a shallow copy.
Extensions of this class may want to override this method (but call
super.clone()
to implement a "smart copy". That is, to target
the most common use case for creating a copy of the object. Because of
the default behavior being a shallow copy, extending classes only need
to handle fields that need to have a deeper copy (or those that need to
be reset). Some of the methods in ObjectUtil
may be helpful in
implementing a custom clone method.
Note: The contract of this method is that you must use
super.clone()
as the basis for your implementation.
clone
in interface CloneableSerializable
clone
in class AbstractCloneableSerializable
public static double twoTailTStatistic(double t, double degreesOfFreedom)
t
 Sample to determine how likely a worse sample is than "t"degreesOfFreedom
 Number of degrees of freedom in the Studentt distribution
public double getT()
protected void setT(double t)
t
 Value that is used in the Studentt CDF to compute the probability.
Usually just called the "tstatistic"public double getDegreesOfFreedom()
protected void setDegreesOfFreedom(double degreesOfFreedom)
degreesOfFreedom
 Number of degrees of freedom in the Studentt distribution, usually
the number of data points  1public double getTestStatistic()
ConfidenceStatistic


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