Click or drag to resize

BivariatePairedStudentTTest Method

Performs a paired Student t-test.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static TestResult PairedStudentTTest(
	IReadOnlyList<double> x,
	IReadOnlyList<double> y
)

Parameters

x
Type: System.Collections.GenericIReadOnlyListDouble
The values of the first variable.
y
Type: System.Collections.GenericIReadOnlyListDouble
The values of the second variable.

Return Value

Type: TestResult
The result of the test.
Exceptions
ExceptionCondition
ArgumentNullExceptionx or y is .
DimensionMismatchExceptionx and y do not contain the same number of entries.
InsufficientDataExceptionThere are fewer than two data points.
Remarks

Like a two-sample, unpaired t-test (StudentTTest(Sample, Sample)), a paired t-test compares two samples to detect a difference in means. Unlike the unpaired version, the paired version assumes that each

See Also