I am trying to compute the t-test using Excel, without the macro included in the software. Specifically, given a dataset, for example
var1
21
34
23
32
21
42
32
12
53
31
21 - from here
41
12
14
24 - to here
I am interesting in analysing the change in the last five rows (from 21
to 24
).
What I did is to compute the mean of the two samples of data, i.e. of the set1
(from 21
to 31
) and of the set2
(from 21
to 24
).
Then, I compute the variance of these sets, using var.S
.
Once I did it, I used the formula for unequal sample sizes, unequal variances to determine the degree of freedom.
Now, what I should do is using the t.dist
function in Excel to get the final result. However, I cannot understand the parameters to insert.
Could you please tell me what I should do and if it is ok what I have done until now?
Thank you.