Chi Square Goodness Of Fit Test.Inclusion Threshold 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#
A number greater than or equal to zero.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public double InclusionThreshold { get; set; }
Property Value
DoubleA 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
Argument | value is less than zero. |