One Sample Kolmogorov Smirnov Test Constructor
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
One | Constructs a new Kolmogorov-Smirnov goodness-of-fit test object. |
One | Constructs a new Kolmogorov-Smirnov goodness-of-fit test for the specified distribution. |
One | Constructs a new Kolmogorov-Smirnov goodness-of-fit test for a distribution with the specified cumulative distribution function. |
OneSampleKolmogorovSmirnovTest
Constructs a new Kolmogorov-Smirnov goodness-of-fit test object.
public OneSampleKolmogorovSmirnovTest()
OneSampleKolmogorovSmirnovTest(Vector<Double>, ContinuousDistribution)
Constructs a new Kolmogorov-Smirnov goodness-of-fit test
for the specified distribution.
public OneSampleKolmogorovSmirnovTest(
Vector<double> sample,
ContinuousDistribution distribution
)
Parameters
- sample Vector<Double>
- A Vector<T>.
- distribution ContinuousDistribution
- A ContinuousDistribution object that represents the distribution that is to be compared.
Exceptions
Argument | distribution is null. |
OneSampleKolmogorovSmirnovTest(Vector<Double>, Func<Double, Double>)
Constructs a new Kolmogorov-Smirnov goodness-of-fit test
for a distribution with the specified cumulative distribution function.
public OneSampleKolmogorovSmirnovTest(
Vector<double> sample,
Func<double, double> distributionFunction
)
Parameters
Exceptions
Argument | distributionFunction is null. |