gov.sandia.cognition.statistics.method
Class FisherSignConfidence.Statistic

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic
          extended by gov.sandia.cognition.statistics.method.FisherSignConfidence.Statistic
All Implemented Interfaces:
ConfidenceStatistic, CloneableSerializable, Serializable, Cloneable
Enclosing class:
FisherSignConfidence

public static class FisherSignConfidence.Statistic
extends AbstractConfidenceStatistic

Contains the parameters from the Sign Test null-hypothesis evaluation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic
nullHypothesisProbability
 
Constructor Summary
FisherSignConfidence.Statistic(int numPositiveSign, int numDifferent)
          Creates a new instance of Statistic
 
Method Summary
 int getNumDifferent()
          Getter for numDifferent
 int getNumPositiveSign()
          Getter for numPositiveSign
 double getTestStatistic()
          Gets the statistic from which we compute the null-hypothesis probability.
protected  void setNumDifferent(int numDifferent)
          Setter for numDifferent
protected  void setNumPositiveSign(int numPositiveSign)
          Setter for numPositiveSign
 
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

FisherSignConfidence.Statistic

public FisherSignConfidence.Statistic(int numPositiveSign,
                                      int numDifferent)
Creates a new instance of Statistic

Parameters:
numPositiveSign - Number of samples where data1 was greater than data2
numDifferent - Number of samples where data1 was different than data2
Method Detail

getNumDifferent

public int getNumDifferent()
Getter for numDifferent

Returns:
Number of samples where data1 was different than data2

setNumDifferent

protected void setNumDifferent(int numDifferent)
Setter for numDifferent

Parameters:
numDifferent - Number of samples where data1 was different than data2

getNumPositiveSign

public int getNumPositiveSign()
Getter for numPositiveSign

Returns:
Number of sample where data1 was greater than data2

setNumPositiveSign

protected void setNumPositiveSign(int numPositiveSign)
Setter for numPositiveSign

Parameters:
numPositiveSign - Number of sample where data1 was greater than data2

getTestStatistic

public double getTestStatistic()
Description copied from interface: ConfidenceStatistic
Gets the statistic from which we compute the null-hypothesis probability. In an ANOVA, this would be the "F" statistic. In a t-test, this would be the "t" value. And so forth.

Returns:
Confidence statistic used to compute the null-hypothesis probability.