Hypothesis Tests.Kolmogorov Smirnov Test Method
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Kolmogorov | Returns a Kolmogorov-Smirnov test whether two samples were drawn from the same distribution. |
Kolmogorov | Returns a Kolmogorov-Smirnov test whether a sample was drawn from the specified distribution. |
Kolmogorov | Returns a Kolmogorov-Smirnov test whether a sample was drawn from the specified distribution. |
KolmogorovSmirnovTest(Vector<Double>, Vector<Double>)
Returns a Kolmogorov-Smirnov test whether two samples were drawn from the same distribution.
public static TwoSampleKolmogorovSmirnovTest KolmogorovSmirnovTest(
Vector<double> sample1,
Vector<double> sample2
)
Parameters
- sample1 Vector<Double>
- A vector that contains the first sample.
- sample2 Vector<Double>
- A vector that contains the second sample.
Return Value
TwoSampleKolmogorovSmirnovTestA two sample Kolmogorov-Smirnov test.
KolmogorovSmirnovTest(Vector<Double>, ContinuousDistribution)
Returns a Kolmogorov-Smirnov test whether a sample was drawn from the specified distribution.
public static OneSampleKolmogorovSmirnovTest KolmogorovSmirnovTest(
Vector<double> sample,
ContinuousDistribution distribution
)
Parameters
- sample Vector<Double>
- A vector that contains a sample from the population.
- distribution ContinuousDistribution
- The proposed distribution of the population.
Return Value
OneSampleKolmogorovSmirnovTestA one sample Kolmogorov-Smirnov test.
KolmogorovSmirnovTest(Vector<Double>, Func<Double, Double>)
Returns a Kolmogorov-Smirnov test whether a sample was drawn from the specified distribution.
public static OneSampleKolmogorovSmirnovTest KolmogorovSmirnovTest(
Vector<double> sample,
Func<double, double> distributionFunction
)
Parameters
- sample Vector<Double>
- A vector that contains a sample from the population.
- distributionFunction Func<Double, Double>
- A delegate that calculates the cumulative distribution function of the proposed distribution of the population.
Return Value
OneSampleKolmogorovSmirnovTestA one sample Kolmogorov-Smirnov test.