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( DoubleVector data1, DoubleVector data2 ) |
| Visual Basic (Declaration) |
|---|
Public Sub Update ( _ data1 As DoubleVector, _ data2 As DoubleVector _ ) |
| Visual C++ |
|---|
public: void Update( DoubleVector^ data1, DoubleVector^ data2 ) |
Parameters
- data1
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of observed values.
- data2
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector 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 vectors. Paired observations where either value is missing are ignored.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the given data contains zero valid pairs. |