Java Statistical Classes

jsc.ci
Interface ConfidenceInterval

All Known Implementing Classes:
AbstractConfidenceInterval, LinearCorrelation, TwoSampleTtest

public interface ConfidenceInterval

Defines the interface for confidence intervals.

A confidence interval is defined by two statistics, lower and upper limits, such that the interval between these limits includes an unknown parameter with a level of confidence measured by the confidence coefficient. The confidence coefficient is a number between 0 and 1 expressing the probability of the truth of a statement that the interval will include the parameter value. Common values chosen for this coefficient are 0.90, 0.95 and 0.99 corresponding to 90%, 95% and 99% confidence levels.

Version:
1.0
Author:
A. J. Bertie.

Method Summary
 double getConfidenceCoeff()
          Returns the confidence coefficient.
 double getLowerLimit()
          Returns the value of the lower confidence limit.
 double getUpperLimit()
          Returns the value of the upper confidence limit.
 void setConfidenceCoeff(double coeff)
          Specifies the confidence coefficient.
 

Method Detail

getConfidenceCoeff

public double getConfidenceCoeff()
Returns the confidence coefficient.

Returns:
the confidence coefficient.

setConfidenceCoeff

public void setConfidenceCoeff(double coeff)
Specifies the confidence coefficient.

Parameters:
coeff - the confidence coefficient; should be between 0 and 1.

getLowerLimit

public double getLowerLimit()
Returns the value of the lower confidence limit.

Returns:
the lower confidence limit.

getUpperLimit

public double getUpperLimit()
Returns the value of the upper confidence limit.

Returns:
the upper confidence limit.

Java Statistical Classes

Copyright © Andrew James Bertie, 2005, all rights reserved. Updated 12th Aug 2005