OneSampleTTest.GetConfidenceInterval Method

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

GetConfidenceInterval() Returns the confidence interval for the test parameter for the default confidence level.
GetConfidenceInterval(Double) Returns the confidence interval for the mean of the population for the specified confidence level.

GetConfidenceInterval(Double)

Returns the confidence interval for the mean of the population for the specified confidence level.
C#
public override Interval GetConfidenceInterval(
	double confidenceLevel
)

Parameters

confidenceLevel  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

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

Exceptions

ArgumentOutOfRangeException

confidenceLevel is less than zero or greater than 1.

See Also