Tests whether one sample mean is compatible with another sample mean.

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public static TestResult StudentTTest(
	Sample a,
	Sample b
)
Public Shared Function StudentTTest ( _
	a As Sample, _
	b As Sample _
) As TestResult
public:
static TestResult^ StudentTTest(
	Sample^ a, 
	Sample^ b
)
static member StudentTTest : 
        a : Sample * 
        b : Sample -> TestResult 

Parameters

a
Sample
The first sample, which must contain at least two entries.
b
Sample
The second sample, which must contain at least two entries.

Return Value

The result of an (equal-variance) Student t-test.

See Also