We are interested in the heights of the players of the two basketball teams “Brose Baskets Bamberg” and “Bayer Giants Leverkusen” as well as the football team “SV Werder Bremen”. The following summary statistics are given:
Calculate a 95%confidence interval for μ for all three teams and interpret the results.
N | Minimum | Maximum | Mean | Std. dev. | |
Bamberg | 16 | 185 | 211 | 199.06 | 7.047 |
Leverkusen | 14 | 175 | 210 | 196.00 | 9.782 |
Bremen | 23 | 178 | 195 | 187.52 | 5.239 |
• Let us start with the confidence interval for the “Brose Baskets Bamberg”. Using t _{15;0.975} = 2.1314 (qt(0.975,15) or Table C.2) and α = 0.05, we can determine the confidence interval as follows:
I_{l} (Ba) = \bar{x} − t_{n−1;{1−α}/{2}}· \frac{s}{\sqrt{n} }= 199.06− t_{15;0.975} · \frac{7.047}{\sqrt{16} } = 195.305,
I_{u} (Ba) = \bar{x} + t_{n−1;{1−α}/{2}}· \frac{s}{\sqrt{n} }= 199.06 + t_{15;0.975} · \frac{7.047}{\sqrt{16} } = 202.815.
Thus, we get [195.305; 202.815].
• For the “Bayer Giants Leverkusen”, we use t_{13;0.975} = 2.1604 to get
I_{l} (L) = \bar{x} − t_{n−1;{1−α}/{2}}· \frac{s}{\sqrt{n} }= 196 − t_{13;0.975} · \frac{9.782}{\sqrt{14} } = 190.352,
I_{u} (L) = \bar{x} + t_{n−1;{1−α}/{2}}· \frac{s}{\sqrt{n} }= 196 + t_{13;0.975} · \frac{9.782}{\sqrt{14} } = 201.648.
This leads to a confidence interval of [190.352; 201.648].
• For “Werder Bremen”, we need to use the quantile t_{22,0.975} = 2.0739 which yields a confidence interval of
I_{l} (Br) = \bar{x} − t_{n−1;{1−α}/{2}}· \frac{s}{\sqrt{n} }= 187.52− t_{22;0.975} · \frac{5.239}{\sqrt{23} } = 185.255,
I_{u} (Br) = \bar{x} + t_{n−1;{1−α}/{2}}· \frac{s}{\sqrt{n} }= 187.25+ t_{22;0.975} · \frac{5.239}{\sqrt{23} } = 189.786.
The interval is therefore [185.255; 189.786].
• The mean heights of the basketball teams are obviously larger than the mean height of the football team. The two confidence intervals of the basketball teams overlap, whereas the intervals of the football team with the two basketball teams do not overlap. It is evident that this indicates that the height of football players is substantially less than the height of basketball players. In Chap. 10, we will learn that confidence intervals can be used to test hypotheses about mean differences.
Table C.2 (1 − α) quantiles for the t-distribution. These values can also be obtained in R using the qt(p,df) command.
d f | 1 − α | |||
0.95 | 0.975 | 0.99 | 0.995 | |
1 | 6.3138 | 12.706 | 31.821 | 63.657 |
2 | 2.9200 | 4.3027 | 6.9646 | 9.9248 |
3 | 2.3534 | 3.1824 | 4.5407 | 5.8409 |
4 | 2.1318 | 2.7764 | 3.7469 | 4.6041 |
5 | 2.0150 | 2.5706 | 3.3649 | 4.0321 |
6 | 1.9432 | 2.4469 | 3.1427 | 3.7074 |
7 | 1.8946 | 2.3646 | 2.9980 | 3.4995 |
8 | 1.8595 | 2.3060 | 2.8965 | 3.3554 |
9 | 1.8331 | 2.2622 | 2.8214 | 3.2498 |
10 | 1.8125 | 2.2281 | 2.7638 | 3.1693 |
11 | 1.7959 | 2.2010 | 2.7181 | 3.1058 |
12 | 1.7823 | 2.1788 | 2.6810 | 3.0545 |
13 | 1.7709 | 2.1604 | 2.6503 | 3.0123 |
14 | 1.7613 | 2.1448 | 2.6245 | 2.9768 |
15 | 1.7531 | 2.1314 | 2.6025 | 2.9467 |
16 | 1.7459 | 2.1199 | 2.5835 | 2.9208 |
17 | 1.7396 | 2.1098 | 2.5669 | 2.8982 |
18 | 1.7341 | 2.1009 | 2.5524 | 2.8784 |
19 | 1.7291 | 2.0930 | 2.5395 | 2.8609 |
20 | 1.7247 | 2.0860 | 2.5280 | 2.8453 |
30 | 1.6973 | 2.0423 | 2.4573 | 2.7500 |
40 | 1.6839 | 2.0211 | 2.4233 | 2.7045 |
50 | 1.6759 | 2.0086 | 2.4033 | 2.6778 |
60 | 1.6706 | 2.0003 | 2.3901 | 2.6603 |
70 | 1.6669 | 1.9944 | 2.3808 | 2.6479 |
80 | 1.6641 | 1.9901 | 2.3739 | 2.6387 |
90 | 1.6620 | 1.9867 | 2.3685 | 2.6316 |
100 | 1.6602 | 1.9840 | 2.3642 | 2.6259 |
200 | 1.6525 | 1.9719 | 2.3451 | 2.6006 |
300 | 1.6499 | 1.9679 | 2.3388 | 2.5923 |
400 | 1.6487 | 1.9659 | 2.3357 | 2.5882 |
500 | 1.6479 | 1.9647 | 2.3338 | 2.5857 |