Click or drag to resize

OneSampleKSTest(Int32, 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(
	int[] data,
	Func<double, double> cdf
)

Parameters

data  Int32
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.
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.
See Also