ChiSquareGoodnessOfFitTest.InclusionThreshold Property

Gets or sets the minimum expected value for a bin to contribute to the test.

Definition

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public double InclusionThreshold { get; set; }

Property Value

Double
A number greater than or equal to zero.

Remarks

The chi-square test is less reliable when bins contain very few elements. This property determines the minimum expected value for a bin to contribute to the test. If a bin is excluded because it doesn't meet this threshold, the degrees of freedom is decreased by one.

This value must be greater than or equal to zero. The default value is 5.

Exceptions

ArgumentOutOfRangeExceptionvalue is less than zero.

See Also