HypothesisTest.GetUpperCriticalValue Method

DefinitionPermalink

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

Overload ListPermalink

GetUpperCriticalValue() Gets the upper critical value for the test statistic at the hypothesis test's current significance level.
GetUpperCriticalValue(Double) Gets the upper critical value for the test statistic at the specified significance level.

GetUpperCriticalValuePermalink

Gets the upper critical value for the test statistic at the hypothesis test's current significance level.
C#
public double GetUpperCriticalValue()

Return Value

Double
The upper critical value of the test statistic for the current significance level.

RemarksPermalink

The upper critical value is the largest value of the test Statistic for which the null hypothesis is not rejected.

This method is only available for tests with HypothesisTypeTwoTailed and OneTailedUpper.

ExceptionsPermalink

GetUpperCriticalValue(Double)Permalink

Gets the upper critical value for the test statistic at the specified significance level.
C#
public double GetUpperCriticalValue(
	double significanceLevel
)

Parameters

significanceLevel  Double
The significance level.

Return Value

Double
The upper value of the test statistic for the current significance level.

RemarksPermalink

The upper critical value is the largest value of the test Statistic for which the null hypothesis is not rejected.

This method is only available for tests with HypothesisTypeTwoTailed and OneTailedUpper.

significanceLevel must be a value between 0 and 1. Common values are 0.01, 0.05, and 0.1.

ExceptionsPermalink

ArgumentOutOfRangeException

significanceLevel is less than 0 or greater than 1.

See AlsoPermalink