Click or drag to resize

OneSampleKSTest(Double, ProbabilityDistribution) Constructor

Constructs a OneSampleKSTest from the given sample data and specified distribution.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public OneSampleKSTest(
	double[] data,
	ProbabilityDistribution dist
)

Parameters

data  Double
The sample data.
dist  ProbabilityDistribution
The hypothesized distribution.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has length of zero, after removing missing values.
Remarks
The distribution of data is compared to the hypothesized distribution defined by dist.CDF.
See Also