Hypothesis Test.Get Upper Critical Value Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Get | Gets the upper critical value for the test statistic at the hypothesis test's current significance level. |
Get | Gets the upper critical value for the test statistic at the specified significance level. |
GetUpperCriticalValue
public double GetUpperCriticalValue()
Return Value
DoubleThe upper critical value of the test statistic for the current significance level.
Remarks
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.
Exceptions
InvalidOperationException | The HypothesisType of the test is not equal to TwoTailed or OneTailedUpper. |
GetUpperCriticalValue(Double)
public double GetUpperCriticalValue(
double significanceLevel
)
Parameters
- significanceLevel Double
- The significance level.
Return Value
DoubleThe upper value of the test statistic for the current significance level.
Remarks
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.
Exceptions
ArgumentOutOfRangeException | significanceLevel is less than 0 or greater than 1. |