dat_M
과 dat_F
가 순서대로 짝지어져 있다고 가정(예: 117과 121, 108과 101 등등)
dat_M = c(117, 108, 105, 89, 101, 93, 96, 108, 108, 94, 93, 112, 92, 91, 100, 96, 120, 86, 96, 95)
dat_F = c(121, 101, 102, 114, 103, 105, 101, 131, 96, 109, 109, 113, 115, 94, 108, 96, 110, 112, 120, 100)
paired=T
를 하여 대응표본 t-test:
m = t.test(dat_M, dat_F, paired=T)
m
Paired t-test data: dat_M and dat_F t = -2.9869, df = 19, p-value = 0.007578 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -13.6059 -2.3941 sample estimates: mean of the differences -8
통계적으로 유의미한 차이가 있음(p < 0.05)
효과 크기의 계산과 결과 보고는 독립표본 t-검증과 동일.