Constructs a TwoSampleKSTest from the given samples and specified
alpha level.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public TwoSampleKSTest( int[] data1, int[] data2, double alpha ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ data1 As Integer(), _ data2 As Integer(), _ alpha As Double _ ) |
| Visual C++ |
|---|
public: TwoSampleKSTest( array<int>^ data1, array<int>^ data2, double alpha ) |
Parameters
- data1
- Type: array<
System..::.Int32
>[]()[]
The first sample.
- data2
- Type: array<
System..::.Int32
>[]()[]
The second sample.
- alpha
- Type: System..::.Double
The accepted probability of falsely rejecting the null hypothesis.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if data1 or data2 has length of zero. |