Returns the confidence interval for the mean of the population for the specified confidence level.

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Overrides Function GetConfidenceInterval ( _
	confidenceLevel As Double _
) As Interval
C#
public override Interval GetConfidenceInterval (
	double confidenceLevel
)
C++
public:
virtual Interval GetConfidenceInterval (
	double confidenceLevel
) override

Parameters

confidenceLevel (System.Double)
A number between 0 and 1 indicating the confidence level. A value of 0.95 corresponds to a confidence level of 95%.

Return Value

An Interval containing a lower and upper bound for the mean.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException

confidenceLevel is less than zero or greater than 1.