public static TestResult KolmogorovSmirnovTest(
IReadOnlyList<double> a,
IReadOnlyList<double> b
)
Public Shared Function KolmogorovSmirnovTest (
a As IReadOnlyList(Of Double),
b As IReadOnlyList(Of Double)
) As TestResult
public:
static TestResult^ KolmogorovSmirnovTest(
IReadOnlyList<double>^ a,
IReadOnlyList<double>^ b
)
static member KolmogorovSmirnovTest :
a : IReadOnlyList<float> *
b : IReadOnlyList<float> -> TestResult
The two-sample Kolmogorov-Smirnov test is a variation of the single-sample test (KolmogorovSmirnovTest(IReadOnlyListDouble, ContinuousDistribution)) that tests whether two independent samples are drawn from the same underlying distribution. The null hypothesis of the test is that both samples are drawn from the same population.
ArgumentNullException | a or b is . |
InsufficientDataException | One or both of the samples is empty. |