
The degrees of freedom (df) used in this test are : Once t 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%). M and s are the mean and the standard deviation of the difference (d), respectively.

T test statistisc value can be calculated as follow :

If there is any significant difference between the two pairs of samples, then the mean of d is expected to be far from 0. The average of the difference d is compared to 0. Let d represents the differences between all pairs. To compare the means of the two paired sets of data, the differences between all pairs must be, first, calculated. If the variances of the two groups being compared are different, the Welch t test can be used. The test can be used only when the two groups of samples (A and B) being compared follow bivariate normal distribution with equal variances. The level of significance or ( p-value) corresponds to the risk indicated by the t-test table for the calculated |t| value. If the absolute value of the t-test statistics (|t|) is greater than the critical value, then the difference is significant. 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%). The t test statistic value to test whether the means are different can be calculated as follow :

To evaluate whether the difference is statistically significant, you first 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%). The comparison of the observed mean (m) of the population to a theoretical value \(\mu\) is performed with the formula below : Let X represents a set of values with size n, with mean m and with standard deviation S. As mentioned above, one-sample t-test is used to compare the mean of a population to a specified theoretical mean ( \(\mu\)).
