OneSampleKolmogorovSmirnovTest Constructor

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

OneSampleKolmogorovSmirnovTest() Constructs a new Kolmogorov-Smirnov goodness-of-fit test object.
OneSampleKolmogorovSmirnovTest(Vector<Double>, ContinuousDistribution) Constructs a new Kolmogorov-Smirnov goodness-of-fit test for the specified distribution.
OneSampleKolmogorovSmirnovTest(Vector<Double>, Func<Double, Double>) 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.
C#
public OneSampleKolmogorovSmirnovTest()

OneSampleKolmogorovSmirnovTest(Vector<Double>, ContinuousDistribution)

Constructs a new Kolmogorov-Smirnov goodness-of-fit test for the specified distribution.
C#
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

ArgumentNullException

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.
C#
public OneSampleKolmogorovSmirnovTest(
	Vector<double> sample,
	Func<double, double> distributionFunction
)

Parameters

sample  Vector<Double>
A Vector<T>.
distributionFunction  Func<Double, Double>
A delegate that represents a function of one variable delegate that evaluates the cumulative distribution function of the distribution.

Exceptions

ArgumentNullException

distributionFunction is null.

See Also