Grubbs Test.Reject Method
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
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(Double)
Returns whether the null hypothesis is rejected using the specified significance level.
public override 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
| Argument | significanceLevel is less than 0 or greater than 1. |