Hypothesis Tests.Cramer Von Mises Test Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Cramer | Returns a Cramer-von Mises test that the specified values were drawn from the specified distribution. |
Cramer | 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.
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
SimpleHypothesisTestA hypothesis test that sample was drawn from distribution.
Exceptions
Argument | 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.
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
SimpleHypothesisTestA hypothesis test that sample was drawn from a distribution with CDF distributionFunction.
Exceptions
Argument | sample is null. -or- distributionFunction is null. |