| OneSampleKSTest(IDFColumn, FuncDouble, Double) Constructor |
Constructs a OneSampleKSTest from the given sample data and specified
cumulative distribution function (CDF).
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public OneSampleKSTest(
IDFColumn data,
Func<double, double> cdf
)
Public Sub New (
data As IDFColumn,
cdf As Func(Of Double, Double)
)
public:
OneSampleKSTest(
IDFColumn^ data,
Func<double, double>^ cdf
)
new :
data : IDFColumn *
cdf : Func<float, float> -> OneSampleKSTest
Parameters
- data IDFColumn
- 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 Exception | Condition |
---|
InvalidArgumentException |
Thrown if data is not numeric or has length of zero, after
missing values are ignored.
|
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