public static class StudentTConfidence.Summary extends AbstractCloneableSerializable implements Summarizer<java.lang.Number,ConfidenceInterval>
Summarizer
interface for creating a
ConfidenceInterval
Constructor and Description |
---|
Summary(double confidence)
Creates a new Summarizer.
|
Modifier and Type | Method and Description |
---|---|
double |
getConfidence()
Gets the confidence for created the interval.
|
void |
setConfidence(double confidence)
Sets the confidence for created the interval.
|
ConfidenceInterval |
summarize(java.util.Collection<? extends java.lang.Number> data)
Creates a summary of the given collection of data.
|
clone
public Summary(double confidence)
confidence
- The confidence for the interval.public ConfidenceInterval summarize(java.util.Collection<? extends java.lang.Number> data)
Summarizer
summarize
in interface Summarizer<java.lang.Number,ConfidenceInterval>
data
- The collection of data to summarize.public double getConfidence()
public void setConfidence(double confidence)
confidence
- The confidence for the created interval.