Worksheat: Student's t-Test

Manual Calculations: First, plot the data for the two sample graphically in form of a scatter-plot and mark the sample means.



cases [i] Sample1 (Yi-) (Yi-)2
1 -1.02


2 1.42


3

-0.26




4

-0.05




5

1.86



6

0.68



7
0.05



8

0.27




9
2.47



10

-1.39




Σ





cases [i] Sample1 (Yi-) (Yi-)2
1 -0.84


2 0.12


3

-0.57




4

-1.09




5

0.21



6

-0.13



7
0.94



8

0.87




9
-0.35



10

-0.40




Σ





calculate:
t-Test

mean in group 0 : 0.403
mean in group 1:  -0.124
diff = 0.527

s2[1] = 1.50369
s2[2] = 0.45147
n1 = n2 = 10
pooled se estimate = 0.44217

t = 1.19184413432143

df = n1-1 + n2-1 = 18