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 2-sample t-test (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 t-test 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 t-test is to be performed. The parameter TestType determines the type of t-test to be performed. The parameter OneSided has to be TRUE for one-sided tests, or FALSE for two-sided tests. Versions [2] and [3] of the function return additional parameters obtained during the t-test calculation:
|