Click or drag to resize

TwoSamplePairedTTest(DoubleVector, DoubleVector) Constructor

Constructs a TwoSamplePairedTTest instance using the given paired vectors of sample data.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public TwoSamplePairedTTest(
	DoubleVector data1,
	DoubleVector data2
)

Parameters

data1  DoubleVector
A vector of observed values.
data2  DoubleVector
A vector of observed values.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the given data contains zero valid pairs.
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. The alpha level is set to the current value specified by the static DefaultAlpha property; the form of the hypothesis test is set to the current DefaultType.
See Also