gov.sandia.cognition.statistics.method
Class AbstractConfidenceStatistic

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.method.AbstractConfidenceStatistic
All Implemented Interfaces:
ConfidenceStatistic, CloneableSerializable, Serializable, Cloneable
Direct Known Subclasses:
AnalysisOfVarianceOneWay.Statistic, ChiSquareConfidence.Statistic, FisherSignConfidence.Statistic, FriedmanConfidence.Statistic, GaussianConfidence.Statistic, KolmogorovSmirnovConfidence.Statistic, LinearRegression.Statistic, MannWhitneyUConfidence.Statistic, StudentTConfidence.Statistic, WilcoxonSignedRankConfidence.Statistic

public abstract class AbstractConfidenceStatistic
extends AbstractCloneableSerializable
implements ConfidenceStatistic

Abstract implementation of ConfidenceStatistic.

Since:
2.0
Author:
Kevin R. Dixon
See Also:
Serialized Form

Field Summary
protected  double nullHypothesisProbability
          Probability of the null hypothesis, often called "p-value"
 
Constructor Summary
AbstractConfidenceStatistic(double nullHypothesisProbability)
          Creates a new instance of AbstractConfidenceStatistic
 
Method Summary
 double getNullHypothesisProbability()
          Getter for nullHypothesisProbability
protected  void setNullHypothesisProbability(double nullHypothesisProbability)
          Setter for nullHypothesisProbability
 String 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.statistics.method.ConfidenceStatistic
getTestStatistic
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Field Detail

nullHypothesisProbability

protected double nullHypothesisProbability
Probability of the null hypothesis, often called "p-value"

Constructor Detail

AbstractConfidenceStatistic

public AbstractConfidenceStatistic(double nullHypothesisProbability)
Creates a new instance of AbstractConfidenceStatistic

Parameters:
nullHypothesisProbability - Probability of the null hypothesis, often called "p-value"
Method Detail

getNullHypothesisProbability

public double getNullHypothesisProbability()
Getter for nullHypothesisProbability

Specified by:
getNullHypothesisProbability in interface ConfidenceStatistic
Returns:
Probability of the null hypothesis, often called "p-value"

setNullHypothesisProbability

protected void setNullHypothesisProbability(double nullHypothesisProbability)
Setter for nullHypothesisProbability

Parameters:
nullHypothesisProbability - Probability of the null hypothesis, often called "p-value"

toString

public String toString()
Overrides:
toString in class Object