Hypothesis Test.Reject Method
Definition
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Reject() | Returns whether the null hypothesis is rejected using the default significance level. |
Reject( | Returns whether the null hypothesis is rejected using the specified significance level. |
Reject
Returns whether the null hypothesis is rejected
using the default significance level.
public bool Reject()
Return Value
Booleantrue if the null hypothesis is rejected; otherwise false.
Remarks
The null hypothesis is rejected if the probability of obtaining the test Statistic is less than the SignificanceLevel.
Reject(Double)
Returns whether the null hypothesis is rejected using the specified significance level.
public bool Reject(
double significanceLevel
)
Parameters
- significanceLevel Double
- The upper bound of the p-value at which to reject the hypothesis.
Return Value
Booleantrue if the null hypothesis is rejected; otherwise false.
Remarks
The null hypothesis is rejected if the probability of obtaining the test Statistic is less than significanceLevel.
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. |