Click or drag to resize

TwoSamplePairedTTest(IDFColumn, IDFColumn, Double, HypothesisType) Constructor

Constructs a TwoSamplePairedTTest instance using the given paired columns of sample data, and the given hypothesis parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public TwoSamplePairedTTest(
	IDFColumn data1,
	IDFColumn data2,
	double alpha,
	HypothesisType type
)

Parameters

data1  IDFColumn
A column of observed values.
data2  IDFColumn
A column of observed values.
alpha  Double
The accepted probability of falsely rejecting the null hypothesis.
type  HypothesisType
Enum value indicating the form of the alternative hypothesis.
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 columns. Paired observations where either value is missing are ignored.
Example
Thrown if the given data is not numeric.
See Also