T Test Test Statistic Formula. In this formula t is the t value x and x are the means of the two groups being compared s and s are the standard error of the two groups and n and n are the numbers of observations in each of the groups. T m μ s n.
X 1 x 2 s p 1 n 1 1 n 2 where x 1 and x 2 are the sample means n 1 and n 2 are the sample sizes and where s p is calculated as. In this formula t is the t value x and x are the means of the two groups being compared s and s are the standard error of the two groups and n and n are the numbers of observations in each of the groups. T test uses means and standard deviations of two samples to make a comparison.
T test uses the data in array1 and array2 to compute a non negative t statistic.
Once we have the t value we have to look at the t tables. Standard deviation of second set of values. Once t test statistic value is determined you have to read in t test table the critical value of student s t distribution corresponding to the significance level alpha of your choice 5. T 74 78 3 5 10 t 3 61.