Updates the test statistic with new sample data.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void Update( int[] data1, int[] data2 ) |
| Visual Basic (Declaration) |
|---|
Public Sub Update ( _ data1 As Integer(), _ data2 As Integer() _ ) |
| Visual C++ |
|---|
public: void Update( array<int>^ data1, array<int>^ data2 ) |
Parameters
- data1
- Type: array<
System..::.Int32
>[]()[]
An array of observed values.
- data2
- Type: array<
System..::.Int32
>[]()[]
An array of observed values.
Remarks
The mean of the differences between paired observations, the standard
deviation of the differences, and the sample size are computed from the
given arrays.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the given data contains zero pairs. |