Paired T Test Calculations
Paired T Test Calculations
Paired T Test Calculations
2
use paire t-test to test if there are different in students' performance in math compared to english
student 1 2 3 4 5 6 7
Math 83 72 91 62 80 43 59
English 54 92 64 88 59 76 62
different 29 -20 27 -26 21 -33 -3
ex 7.3
use sign test for prob in ex 7.2
student 1 2 3 4 5 6 7
Math 83 72 91 62 80 43 59
English 54 92 64 88 59 76 62
different 29 -20 27 -26 21 -33 -3
sign 1 0 1 0 1 0 0
x 5 = 5 positive different
test statistic 0
cv 1.959964
conclusion Ts< CV fail to reject
8 9 10
36 82 75
71 42 50
-35 40 25
8 9 10
36 82 75
71 42 50
-35 40 25
0 1 1
PAIRED T TEST Ho MEAN DIFFERENCE μ(D) = 0
Ha MEAN DIFFERENCE μ(D)≠0
2 SIDED ALTERNATIVE
sample size
population sd unknown?
sample mean of differences
sample std deviation of differences
std error of sample mean
TS = test statistic TS
level of significance for test
degrees of freedom
CV = critical value for 2 sided test 1.833113 CV = critical value for 1 sided test
reject based on CV?
Pvalue for 2 sided test 4.0368% Pvalue for 1 sided test
reject based on Pvalue?
ex
7.9
shade sun
sample 20 30
sample mean 58 64.5
ex 7.10
group A Group B
sample size 24 24
sample mean 77.5 65.83
sample sd 4.12 6.25
alpha 0.05
ex7.11
w 83
nx 10
ny 10
N 20
T -22
Ts -1.663
pvalue 0.04
sample size 10 10
sample mean
sample sd
sp
t-stat
pvalue
mu_shade <mu_sun
means height of rose shaded is significantly smaller than planting on the sun
83