HypothesisTest.Reject Method

Definition

Namespace: Extreme.Statistics.Tests
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(Double) Returns whether the null hypothesis is rejected using the specified significance level.

HypothesisTest.Reject

Returns whether the null hypothesis is rejected using the default significance level.
C#
public bool Reject()

Return Value

Boolean
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 the SignificanceLevel.

HypothesisTest.Reject(Double)

Returns whether the null hypothesis is rejected using the specified significance level.
C#
public bool Reject(
	double significanceLevel
)

Parameters

significanceLevel  Double
The upper bound of the p-value at which to reject the hypothesis.

Return Value

Boolean
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

ArgumentOutOfRangeExceptionsignificanceLevel is less than 0 or greater than 1.

See Also