OneSampleKolmogorovSmirnovTest Constructor

Definition

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

ArgumentNullExceptiondistribution 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

ArgumentNullExceptiondistributionFunction is null.

See Also