Table of Contents

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 LegacyConfidenceLevel

ConfidenceLevel for a confidence interval

n int

Sample size (n >= 3)

Returns

double

ToPercent(LegacyConfidenceLevel)

public static double ToPercent(this LegacyConfidenceLevel level)

Parameters

level LegacyConfidenceLevel

Returns

double

ToPercentStr(LegacyConfidenceLevel)

public static string ToPercentStr(this LegacyConfidenceLevel level)

Parameters

level LegacyConfidenceLevel

Returns

string