Class ConfidenceLevelExtensions
- Namespace
- BenchmarkDotNet.Mathematics
- Assembly
- BenchmarkDotNet.dll
public static class ConfidenceLevelExtensions
- Inheritance
-
ConfidenceLevelExtensions
Methods
GetZValue(LegacyConfidenceLevel, int)
Calculates Z value (z-star) for confidence interval
public static double GetZValue(this LegacyConfidenceLevel level, int n)
Parameters
level
LegacyConfidenceLevelConfidenceLevel for a confidence interval
n
intSample size (n >= 3)
Returns
ToPercent(LegacyConfidenceLevel)
public static double ToPercent(this LegacyConfidenceLevel level)
Parameters
level
LegacyConfidenceLevel
Returns
ToPercentStr(LegacyConfidenceLevel)
public static string ToPercentStr(this LegacyConfidenceLevel level)
Parameters
level
LegacyConfidenceLevel