Arcenis R. answered 10/07/22
Economist for a federal statistical agency and former statistics tutor
In this case we want to perform a two-sample t-test. Since we don't have the actual data, we cannot perform a test of equal variance, so we'll have to assume equal variance. The two-sample t-test is performed with the following formula:
(x1 - x2) / (sp × √((1 / n1) + (1 / n2)))
where:
x1 = mean of the first group
x2 = mean of the second group
s1 = standard deviation of the first group
s2 = standard deviation of the second group
n1 = size of the first group
n2 = size of the second group
sp = pooled standard deviation
the pooled variance is calculated with the following formula:
(((n1 - 1) × (s12)) + ((n2 - 1) × (s22))) / (n1 + n2 - 2)
Plugging in the following values:
x1 = 2.14, s1 = 0.89, n1 = 40
x2 = 2, s2 = 0.66, n2 = 45
We first calculate our pooled standard deviation:
sp = (((40 - 1) × (0.892)) + ((45 - 1) × (0.662))) / (40 + 45 - 2) ≈ 0.7776
Then we calculate the two-sample t-statistic:
t = (2.14 - 2) / (0.7776 × √((1 / 40) + (1 / 45))) ≈ 0.8296
To go the extra step of checking whether this t-statistic is significant at the 95% confidence interval we calculate our degrees of freedom:
degrees of freedom = (n1 + n2 - 2) = (45 + 40 - 2) = 83
Then we use our degrees of freedom [83] with our t-statistic [0.8296] to look up our p-value in a t-table and find that our p-value is 0.40914. So we do not reject the null hypothesis that the two population means are equal.