HypothesisTests.CramerVonMisesTest Method

Definition

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

Overload List

CramerVonMisesTest(Vector<Double>, ContinuousDistribution) Returns a Cramer-von Mises test that the specified values were drawn from the specified distribution.
CramerVonMisesTest(Vector<Double>, Func<Double, Double>) Returns a Cramer-von Mises test that the specified values were drawn from a distribution with the specified distribution function.

CramerVonMisesTest(Vector<Double>, ContinuousDistribution)

Returns a Cramer-von Mises test that the specified values were drawn from the specified distribution.
C#
public static SimpleHypothesisTest CramerVonMisesTest(
	Vector<double> sample,
	ContinuousDistribution distribution
)

Parameters

sample  Vector<Double>
A vector that contains a sample from the population.
distribution  ContinuousDistribution
The continuous distribution that is being considered.

Return Value

SimpleHypothesisTest
A hypothesis test that sample was drawn from distribution.

Exceptions

ArgumentNullException

sample is null.

-or-

distribution is null.

CramerVonMisesTest(Vector<Double>, Func<Double, Double>)

Returns a Cramer-von Mises test that the specified values were drawn from a distribution with the specified distribution function.
C#
public static SimpleHypothesisTest CramerVonMisesTest(
	Vector<double> sample,
	Func<double, double> distributionFunction
)

Parameters

sample  Vector<Double>
A vector that contains a sample from the population.
distributionFunction  Func<Double, Double>
The distribution function (CDF) of the distribution that is being considered.

Return Value

SimpleHypothesisTest
A hypothesis test that sample was drawn from a distribution with CDF distributionFunction.

Exceptions

ArgumentNullException

sample is null.

-or-

distributionFunction is null.

See Also