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 for the first sample.
- data2
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of observed values for the second sample.
Remarks
New sample standard deviations and sample sizes are computed from the
given data vectors. Missing values are ignored.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if either sample has length of zero after removing missing values. |