Click or drag to resize

SampleKolmogorovSmirnovTest Method (Sample, Sample)

Tests whether the sample is compatible with another sample.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static TestResult KolmogorovSmirnovTest(
	Sample a,
	Sample b
)

Parameters

a
Type: Meta.Numerics.StatisticsSample
One sample.
b
Type: Meta.Numerics.StatisticsSample
The other sample.

Return Value

Type: TestResult
The test result. The test statistic is the D statistic and the likelyhood is the right probability to obtain a value of D as large or larger than the one obtained.
Exceptions
ExceptionCondition
ArgumentNullExceptiona or b is .
InsufficientDataExceptionOne or both of the samples is empty.
See Also