Updates the test statistic with new sample data.

Namespace:  CenterSpace.NMath.Stats
Assembly:  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 for the first sample.
data2
Type: array< System..::.Int32 >[]()[]
An array of observed values for the second sample.

Remarks

The new sample means, sample standard deviations, and sample sizes are computed from the given data arrays.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if either sample has length of zero.

See Also