Click or drag to resize

OneSampleKSTest(Double, FuncDouble, Double) Constructor

Constructs a OneSampleKSTest from the given sample data and specified cumulative distribution function (CDF).

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public OneSampleKSTest(
	double[] data,
	Func<double, double> cdf
)

Parameters

data  Double
The sample data.
cdf  FuncDouble, Double
A functor that takes a double-precision floating point number and returns a double-precision floating point number that encapsulates the hypothesized cumulative distribution function (CDF).
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has length of zero, after removing missing values.
Remarks
The alpha level is set to the current value specified by the static DefaultAlpha property; the form of the hypothesis test is set to the current DefaultType. Missing values are ignored.
See Also