T Test Formula Explained. The formula for standard deviation is given by. µ 1 µ 2 0 the difference.
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. Independent two sample t test. µ 1 µ 2 0 the difference between the two population means is equal to 0 h 1.
As mentioned above one sample t test is used to compare the mean of a population to a.
Once we have the t value we have to look at the t tables. A number that summarizes our sample outcome with regard to the null hypothesis. Mean 1 and mean 2 the average values of each of the sample sets s diff the standard deviation of the differences of the paired data values n. Df n 1 n 2 2 we subtract 2 because each of the two means we computed costs us one degree of freedom.