Hypothesis Tests.Cramer Von Mises Test Method
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
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.
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
ArgumentNullException | sample is null. -or- distributionFunction is null. |