gov.sandia.cognition.statistics.method
Class StudentTConfidence.Summary

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.method.StudentTConfidence.Summary
All Implemented Interfaces:
CloneableSerializable, Summarizer<Number,ConfidenceInterval>, Serializable, Cloneable
Enclosing class:
StudentTConfidence

public static class StudentTConfidence.Summary
extends AbstractCloneableSerializable
implements Summarizer<Number,ConfidenceInterval>

An implementation of the Summarizer interface for creating a ConfidenceInterval

See Also:
Serialized Form

Constructor Summary
StudentTConfidence.Summary(double confidence)
          Creates a new Summarizer.
 
Method Summary
 double getConfidence()
          Gets the confidence for created the interval.
 void setConfidence(double confidence)
          Sets the confidence for created the interval.
 ConfidenceInterval summarize(Collection<? extends Number> data)
          Creates a summary of the given collection of data.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StudentTConfidence.Summary

public StudentTConfidence.Summary(double confidence)
Creates a new Summarizer.

Parameters:
confidence - The confidence for the interval.
Method Detail

summarize

public ConfidenceInterval summarize(Collection<? extends Number> data)
Description copied from interface: Summarizer
Creates a summary of the given collection of data.

Specified by:
summarize in interface Summarizer<Number,ConfidenceInterval>
Parameters:
data - The collection of data to summarize.
Returns:
The summary of the data.

getConfidence

public double getConfidence()
Gets the confidence for created the interval.

Returns:
The confidence for the created interval.

setConfidence

public void setConfidence(double confidence)
Sets the confidence for created the interval.

Parameters:
confidence - The confidence for the created interval.