Click or drag to resize

OneSampleKSTest(Double, FuncDouble, Double, 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,
	double alpha
)

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).
alpha  Double
The accepted probability of falsely rejecting the null hypothesis.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has length of zero, after removing missing values.
Remarks
Missing values are ignored.
See Also