|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.statcato.statistics.inferential.ConfidenceInterval
public abstract class ConfidenceInterval
Confidence interval class. This abstract class is the base class of all confidence interval objects. All classes extending the ConfidenceInterval class must implement the marginOfError and criticalValue methods.
Field Summary | |
---|---|
protected double |
center
|
protected double |
confidenceLevel
|
Constructor Summary | |
---|---|
ConfidenceInterval()
|
Method Summary | |
---|---|
double |
center()
Returns the center of the interval. |
abstract double |
criticalValue()
Returns the critical value corresponding to the given confidence level. |
double |
lowerLimit()
Returns the lower limit of the confidence interval. |
abstract double |
marginOfError()
Returns the margin of error. |
java.lang.String |
toString()
Returns a string representing the confidence interval (lower limit, upper limit). |
double |
upperLimit()
Returns the upper limit of the confidence interval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double center
protected double confidenceLevel
Constructor Detail |
---|
public ConfidenceInterval()
Method Detail |
---|
public abstract double marginOfError()
public abstract double criticalValue()
public double lowerLimit()
public double upperLimit()
public double center()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |