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.1.4
Syntax public static TestResult KolmogorovSmirnovTest(
Sample a,
Sample b
)
Public Shared Function KolmogorovSmirnovTest (
a As Sample,
b As Sample
) As TestResult
public:
static TestResult^ KolmogorovSmirnovTest(
Sample^ a,
Sample^ b
)
static member KolmogorovSmirnovTest :
a : Sample *
b : Sample -> TestResult
Parameters
- a
- Type: Meta.Numerics.StatisticsSample
One sample. - b
- Type: Meta.Numerics.StatisticsSample
The other sample.
Return Value
Type:
TestResultThe 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 See Also