One Sample TTest.Get Confidence Interval Method
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Get | Returns the confidence interval for the test parameter for the default confidence level. |
Get | 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.
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
IntervalAn Interval containing a lower and upper bound for the mean.
Exceptions
Argument | confidenceLevel is less than zero or greater than 1. |