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 ![]() ![]() ![]() ![]() |
|||||||||||||||||||||||
See also: tDistriQuantile, tDistriIntegral, TtTestVersion, PerformMannWhitneyUTest | |||||||||||||||||||||||
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 two overloaded versions: version [1] mimics the function TTEST of Microsofts Excel, version [2] returns 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. Version [2] of the function returns additional parameters obtained during the t-test calculation:
|