Calculate the means of the two groups being compared.
Calculate the standard deviation and variance of the data sets.
Use the formula for the t-statistic:
t = \frac{\bar{x}1 - \bar{x}2}{s{p} \sqrt{\frac{1}{n1} + \frac{1}{n_2}}} where:
Determine the degrees of freedom (df) using:
df = n1 + n2 - 2
Calculate the p-value associated with the computed t-statistic.