两个样本T.-test是比较两个独立数据样本的位置参数的参数测试。
The test statistic is
哪里
and
样本意味着,S.XandS.yare the sample standard deviations, andN.andm样品尺寸是样本尺寸。
In the case where it is assumed that the two data samples are from populations with equal variances, the test statistic under the null hypothesis has Student'sT.分销N.+m– 2自由度,以及样本标准偏差被汇总的标准偏差所取代
In the case where it is not assumed that the two data samples are from populations with equal variances, the test statistic under the null hypothesis has an approximate Student'sT.分销a number of degrees of freedom given by Satterthwaite's approximation. This test is sometimes called Welch’sT.-测试。