Comparing Two Mean Vectors: Review of Univariate Two-Sample Paired T-Test
Comparing Two Mean Vectors: Review of Univariate Two-Sample Paired T-Test
\
|
= E
|
|
.
|
\
|
=
2
2
x xy
yx y
x
y
and
o o
o o
=
n
i
i d
d d
n
s
1
2
2
1
1
To test H
0
:
y
=
x
that is, H
0
:
d
=0
We use
Or
and d
n
d
n
i
i
=
=
1
1
1
|
.
|
\
|
=
|
.
|
\
|
=
n
s
d
n
s
d
t
d
d
( )
1
2
2
2
=
d
s d n t
MULTIVARIATE CASE
Pair
no.
Treatment 1 Treatment 2 Difference
d
i =
y
i
- x
i
1 y
1
x
1
d
1
2 y
2
x
2
d
2
. . . .
. . . .
n y
n
x
n
d
n
To test
H
0
:
y
=
x
that is,
H
0
:
d
=0
Calculations:
( ) ( )
=
'
=
n
i
i i
d
d d d d
n
S
1 1
1
Then
Test Criterion
Reject H
0
if T
2
>T
2
o,p,n-1
and d
n
d
n
i
i
=
=
1
1
( ) d S d n d
n
S
d T
d
d
1
/
1
/
2
=
|
.
|
\
|
=