Académique Documents
Professionnel Documents
Culture Documents
Test Value = 4
95% Confidence
Interval of the
Mean Difference
t df Sig. (2-tailed) Difference Lower Upper
dep_score -3.347 Teresa Kisi
39 (MPH in Epidemiology
.002 and
-.26875 Biostatistics,
-.4312 Assist.
-.1063Prof.)
5/15/2016 5
terek7@gmail.com
Paired t-test:
Example (dietstudy)
A physician is evaluating a new diet for her patients
with a family history of heart disease. To test the
effectiveness of this diet, 16 patients are placed on
the diet for 6 months.
Their weights and triglyceride levels are measured
before and after the study, and the physician wants
to know if either set of measurements has changed.
Paired Differences
95% Confidence
Interval of the
Std. Error Difference
Mean Std. Deviation Mean Lower Upper t df Sig. (2-tailed)
Pair 1 Triglyceride - Final
14.063 46.875 11.719 -10.915 39.040 1.200 15 .249
triglyceride
Pair 2 Weight - Final weight 8.063 2.886 .722 6.525 9.600 11.175 15 .000
Example:
Suppose you want to compare (by estimating the
difference between them), the population mean
birth weights of infants born in a maternity unit
with that of infants born at home (sample data is
given as two sample test). The two samples were
selected independently with no attempt at
matching.
A low significance value for the t test (typically less than 0.05)
indicates that there is a significant difference between the two
group means.
Teresa Kisi (MPH in Epidemiology and Biostatistics, Assist. Prof.)
5/15/2016 14
terek7@gmail.com
Two-sample t-test: cont’d…
i1
SS W = ( y i y i
) 2
i1
n
SST = SSB + SSW = i y
( y
i 1
- ) 2
Between groups k
2 2
(Explained) SSB = i i
n x
i 1
i
T /N
2
Within groups SSW = S T / N
(Unexplained)
k
Total SST = S ni M i 2
i 1
(= SSB
Teresa Kisi (MPH +SSW) and Biostatistics, Assist. Prof.)
in Epidemiology
5/15/2016 26
terek7@gmail.com
– The significance test for differences between the
groups is based on a comparison of the between
groups and within groups mean squares.
Df Between-groups = k-1
Df within-groups = N-k
where:
N is the total number of observations and
k is the number of groups.
Teresa Kisi (MPH in Epidemiology and Biostatistics, Assist. Prof.)
5/15/2016 28
terek7@gmail.com
One way ANOVA table looks like the following:
Source of DF SS Mean square F P
variation
The significance value is less than 0.05, suggesting that the variances for
the three groups are not equal and the assumption is not assumed .
Teresa Kisi (MPH in Epidemiology and Biostatistics, Assist. Prof.)
5/15/2016 33
terek7@gmail.com
Example 1: Red cell folate levels (μg/l) in three groups
of cardiac bypass patients given different levels of
nitrous oxide ventilation (Amess et al., 1978)
Group I Group II Group III
(n=8) (n=9) (n=5)
243 206 241
251 210 258
275 226 270
291 249 293
347 255 328
354 273
380 285
392 295
309
Unexplained variation
Mean
Difference 95% Confidence Interval
(I) group (J) group (I-J) Std. Error Sig. Lower Bound Upper Bound
Scheffe 1.00 2.00 60.18056* 22.21594 .045 1.2192 119.1420
3.00 38.62500 26.06443 .354 -30.5503 107.8003
2.00 1.00 -60.18056* 22.21594 .045 -119.1420 -1.2192
3.00 -21.55556 25.50141 .704 -89.2366 46.1255
3.00 1.00 -38.62500 26.06443 .354 -107.8003 30.5503
2.00 21.55556 25.50141 .704 -46.1255 89.2366
Bonferroni 1.00 2.00 60.18056* 22.21594 .042 1.8614 118.4998
3.00 38.62500 26.06443 .464 -29.7969 107.0469
2.00 1.00 -60.18056* 22.21594 .042 -118.4998 -1.8614
3.00 -21.55556 25.50141 1.000 -88.4995 45.3884
3.00 1.00 -38.62500 26.06443 .464 -107.0469 29.7969
2.00 21.55556 25.50141 1.000 -45.3884 88.4995
*. The mean difference is significant at the .05 level.
Mean
Difference 95% Confidence Interval
(I) group (J) group (I-J) Std. Error Sig. Lower Bound Upper Bound
Scheffe 1.00 2.00 60.18056* 22.21594 .045 1.2192 119.1420
3.00 38.62500 26.06443 .354 -30.5503 107.8003
2.00 1.00 -60.18056* 22.21594 .045 -119.1420 -1.2192
3.00 -21.55556 25.50141 .704 -89.2366 46.1255
3.00 1.00 -38.62500 26.06443 .354 -107.8003 30.5503
2.00 21.55556 25.50141 .704 -46.1255 89.2366
Bonferroni 1.00 2.00 60.18056* 22.21594 .042 1.8614 118.4998
3.00 38.62500 26.06443 .464 -29.7969 107.0469
2.00 1.00 -60.18056* 22.21594 .042 -118.4998 -1.8614
3.00 -21.55556 25.50141 1.000 -88.4995 45.3884
3.00 1.00 -38.62500 26.06443 .464 -107.0469 29.7969
2.00 21.55556 25.50141 1.000 -45.3884 88.4995
*. The mean difference is significant at the .05 level.