ChiSquareGoodnessOfFitTest.InclusionThreshold Property

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

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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

ArgumentOutOfRangeException

value is less than zero.

See Also