Top Banner
Chapter 11: The t Test for Two Related Samples
22

Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Jan 18, 2018

Download

Documents

Felix Hampton

Group Assignment of Subjects Matched by IQ ControlReading Program SubjectIQSubjectIQ A120E B105F C110G D95H
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Chapter 11: The t Test for Two Related Samples

Page 2: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Related t Formulas

t = DSD

= DSDn

t = (X1 − X 2 )S1

2 + S22

n− 2rS1S2

n

t = D∑1n−1

n D2∑ − ( D∑ )2[ ]

Page 3: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Group Assignment of Subjects Matched by IQ

Control Reading ProgramSubject IQ Subject IQ

A 120 E 120B 105 F 105C 110 G 110D 95 H 95

Page 4: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Person

Before Treatment

X1

After Treatment

X2 DA 72 64 -8B 68 60 -8C 60 50 -10D 71 66 -5E 55 56 +1

D∑ = −30

D = D∑n

=−305

=−6

Page 5: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

t = D−μDSD

s = SSn−1

SD = sn

df = n−1(Where n = number of difference scores)

Page 6: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

µD = ?D scores

Population of difference scores

Obtain sample

Makeinference about µD

Page 7: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Scores on Depression Inventory Before and After Treatment

Person

Before Treatment

X1

After Treatment

X2 DA 72 64 -8B 68 60 -8C 60 50 -10D 71 66 -5E 55 56 +1

D = −30∑

D = D∑n

=−305

=−6

Page 8: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Person

Before Treatment

X1

After Treatment

X2 D D2

A 72 64 -8 64B 68 60 -8 64C 60 50 -10 100D 71 66 -5 25E 55 56 +1 1

-30 254

SS = D2 − ( D∑ )2

n∑

=(254)− (−30)2

5

=254 − 9005

=254 −180 = 74

Page 9: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

D D (D - D)2

-8 -6 (-2)2

-8 -6 (-2)2

-10 -6 (-4)2

-5 -6 (+1)2

+1 -6 (+7)2

SS = (D−D∑ )2 = 74

s = SSn−1

= 744

= 18.5

=4.3

SD = sn

=4.35

= 4.32.236

=1.92

Page 10: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

t =D−μ DSD

=(−6)− (0)1.92

=−3.125

Page 11: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

What is the effect of relaxation training on severity of asthma symptoms:

1. Measure the number of doses of medication needed to counter asthma attacks (over 1 week)

Relaxation Training

2. Measure the number of doses of medication needed to counter asthma attacks (over 1 week)

Page 12: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

1. Ho: µD = 0 (No change in symptoms)

H1: µD ≠ 0 (There is a change…)

= 0.05

2. tcrit(4) = + 2.776

3.

tobt = D−μ DSD

SD = sn

s = SSn−1

SS = D2∑ − (∑D)2

n

tobt = −3.72

4. Reject Ho because tobt of -3.72 < tcrit of -2.776

5. Conclusion: Relaxation training significantly reduced the number of asthma attacks, t(5) = -3.72, p < 0.05.

Page 13: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

-2.776 0 +2.776

Reject Ho

Reject Ho

Page 14: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

PatientWeek Before

TrainingWeek After

Training D D2

A 9 4 -5 25B 4 1 -3 9C 5 5 0 0D 4 0 -4 16E 5 1 -4 16

D∑ = −16

D2 = 66∑

D = D∑n

=−165

=−3.2

SS = D2∑ − ( D∑ )2

n

=66 − (−16)2

5

=66 − 51.2

=14.8

Page 15: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

-2.132

Reject Ho

df = 4

Page 16: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

ControlReading Program D D2

Matched pair A 6 15 +9 81Matched pair B 5 15 +10 100Matched pair C 11 17 +6 36Matched pair D 6 13 +7 49

D∑ = +32

D2 = 266∑

D = D∑n

=+324

=+8

SS = D2∑ − ( D∑ )2

n

=266 − (32)2

4

=266 − 256

=10

=266 −10244

Page 17: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Subject Treatment 1 Treatment 2 DA 10 16 +6B 20 24 +4C 30 35 +5D 40 46 +6E 50 54 +4

D = +5

X1 = 30

X 2 = 35

SS1 =1000

SS2 = 964

SSD = 964

Page 18: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Assumptions for Related-Samples t test

1. Observations within each treatment must be independent

2. The population distribution of difference scores must be normal

3. Note: #2 is not a concern as long as sample size is 30 or less

Page 19: Chapter 11: The t Test for Two Related Samples. Related t Formulas.
Page 20: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Person X1 (Before) X2 (After)

A 15 15B 11 13C 10 18D 11 12E 14 16F 10 10G 11 19

Page 21: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

SubjectBefore

TreatmentAfter

Treatment1 19 132 35 373 20 144 31 25

Page 22: Chapter 11: The t Test for Two Related Samples. Related t Formulas.

Control Reading ProgramSubject IQ Subject IQ

A 120 E 120B 105 F 105C 110 G 110D 95 H 95