The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... 
Home MathPack Statis Functions Tests Perform2SampleTTest  
See also: tDistriQuantile, tDistriIntegral, TtTestVersion, PerformMannWhitneyUTest, PerformFTest, Perform1SampleTTest, PerformSiegelTukeyTest  
Perform2SampleTTest 

The function Perform2SampleTTest returns the probability associated with a 2sample ttest (probability which indicates the likelihood that two samples have come from the same two underlying populations having the same mean). It is available in three overloaded versions: version [1] mimics the function TTEST of Microsofts Excel, versions [2] and [3] return a lot more details of the ttest calculation. The parameters Data1 and Data2 contain the data as a TVector. Note that the number of elements of the two vectors have to be equal if a paired ttest is to be performed. The parameter TestType determines the type of ttest to be performed. The parameter OneSided has to be TRUE for onesided tests, or FALSE for twosided tests. Versions [2] and [3] of the function return additional parameters obtained during the ttest calculation:
