Professional Documents
Culture Documents
Our hypotheses:
Ho: D = 0
HA: D 0
Paired Samples t
s
t = D - D sD =
sD n
Steps for Calculating a Test Statistic
Paired Samples T
1. Calculate difference scores
2. Calculate D
3. Calculate sd
4. Calculate T and d.f.
5. Use Table E.6
Confidence Intervals for Paired Samples
General formula
X t (SE)
Paired Samples t
D t (sD)
Effect Size for Dependent Samples
One Sample d
ˆ X H0
d
s
Paired Samples d
ˆ D
d
sD
Exercise
In Everitt’s study (1994), 17 girls being treated for
anorexia were weighed before and after treatment.
Difference scores were calculated for each participant.
Change in Weight
n = 17
D = 7.26
sD = 7.16
7.16
T-test SE 1.74
17
7.26 0
t (16) 4.17
1.74
p .01
Change in Weight
Exercise
n = 17
D = 7.26
sD = 7.16
CI 7.26 2.12(1.74)
(3.57,10.95)
Change in Weight
Exercise
n = 17
D = 7.26
sD = 7.16
Effect Size
7.26
d
7.16
d 1.01
Part II
Ho: 1 = 2
HA: 1 2
T-Test for Independent Samples
General t formula
t = sample statistic - hypothesized population parameter
estimated standard error
One Sample t
X H0
ttest
sX
Independent samples t
( X 1 X 2 ) ( 1 2 ) s X1 X 2 ?
t
s X1 X 2
T-Test for Independent Samples
Each of the two sample means represents its own population mean, but
in each case there is some error.
The amount of error associated with each sample mean can be measured
by computing the standard errors.
To calculate the total amount of error involved in using two sample
means to approximate two population means, we will find the error from
each sample separately and then add the two errors together.
T-Test for Independent Samples
One-Sample T
1. Calculate sample mean
2. Calculate standard error
3. Calculate T and d.f.
4. Use Table D
Steps for Calculating a Test Statistic
Independent Samples T
1. Calculate X1-X2
SS1 SS2
s2p
2 2
2. Calculate pooled variance df1 df 2
s p s p
n1 n2 3. Calculate standard error
(X1 X 2 ) (1 2 )
t
4. Calculate T and d.f. sx1 x2
d.f. = (n1 - 1) + (n2 - 1)
5. Use Table E.6
Illustration
A developmental psychologist would like to examine the
difference in verbal skills for 8-year-old boys versus 8-
year-old girls. A sample of 10 boys and 10 girls is
obtained, and each child is given a standardized verbal
abilities test. The data for this experiment are as follows:
Girls Boys
n1 = 10 n2 = 10
X1 = 37 X 2 = 31
SS1 = 150 SS2 = 210
Girls Boys
Illustration
n1 = 10 n2 = 10
X1 = 37 X 2 = 31
SS1 = 150 SS2 = 210
X1 X 2 6
Girls Boys
Illustration
n1 = 10 n2 = 10
X1 = 37 X 2 = 31
SS1 = 150 SS2 = 210
SS1 SS2
2 150 210 360
s p 20
df1 df 2 (10 1) (10 1) 18
Girls Boys
Illustration
n1 = 10 n2 = 10
X1 = 37 X 2 = 31
SS1 = 150 SS2 = 210
2 2
sp sp20 20
SE 4 2
n1 n2 10 10
Girls Boys
Illustration
n1 = 10 n2 = 10
X1 = 37 X 2 = 31
SS1 = 150 SS2 = 210
Single
SS s2 X
2
sample X s t
df sx
t-statistic n
Independent SS SS2
1 2
2 2
X1 X 2
2
s 1 sp sp
samples p
df1 df 2
t-statistic n1 n2
(X1 X 2 ) (1 2 )
t
sx1 x2
Confidence Intervals for Independent Samples
General formula
X t (SE)
One Sample t
X t (sx)
Independent Sample t
(X1-X2) t (sx1-x2)
Effect Size for Independent Samples
One Sample d
ˆ X H0
d
s
Independent Samples d
ˆ X1 X 2
d
sp
Exercise
Subjects are asked to memorize 40 noun pairs. Ten subjects
are given a heuristic to help them memorize the list, the
remaining ten subjects serve as the control and are given no
help. The ten experimental subjects have a X-bar = 21 and a
SS = 100. The ten control subjects have a X-bar = 19 and a SS
= 120.
T-test X1 X 2 2
s 2p s 2p 12.2 12.2
SE 2.44 1.56
n1 n2 10 10
Experimental Control
Exercise
n1 = 10 n2 = 10
X1 = 21 X 2 = 19
SS1 = 100 SS2 = 120
T-test
( X 1 X 2 ) ( 1 2 ) 2 0
t 1.28
s x1 x2 1.56
p .20
Experimental Control
Exercise
n1 = 10 n2 = 10
X1 = 21 X 2 = 19
SS1 = 100 SS2 = 120
CI 2 2.101(1.56)
(1.28,5.28)
Experimental Control
Exercise
n1 = 10 n2 = 10
X1 = 21 X 2 = 19
SS1 = 100 SS2 = 120
Effect Size
X1 X 2
d
sp
2
d
12.2
d .57
Summary
One sample
SS s2 X
2
X s t
t-statistic df sx
n
Paired
samples t- SS
s D
2 s2 D D
statistic
D D df t
n sD
Independent SS SS2
1 2
2 2
samples X1 X 2 s 1
2 sp sp
p
df1 df 2
t-statistic n1 n2
(X1 X 2 ) (1 2 )
t
sx1 x2
Confidence Intervals
One Sample t
X t (SE)
Paired Samples t
D t (sD)
Independent Sample t
(X1-X2) t (sx1-x2)
Effect Sizes
One Sample d
ˆ X H0
d
s
Paired Samples d
ˆ D
d
sD
Independent Samples d
ˆ X1 X 2
d
sp