Returns a value that indicates whether the null hypothesis is rejected using the specified significance level.
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Reject ( _ significanceLevel As Double _ ) As Boolean |
| C# |
|---|
public bool Reject ( double significanceLevel ) |
| C++ |
|---|
public: bool Reject ( double significanceLevel ) |
Parameters
- significanceLevel (System.Double)
- The upper bound of the p-value at which to reject the hypothesis.
Return Value
true 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
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | significanceLevel is less than 0 or greater than 1. |