Professional Documents
Culture Documents
Statistics 101
Thomas Leininger
Announcements
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 2 / 17
Announcements
50
140
45
120
40
100
Latitude
35
80
60
30
40
25
Longitude
140
●
120 ● ●
●
●
foster IQ
●
● ●
●
100 ● ● ●
●
● ● ●
● ● ●
●
● ●
80 ●
●
●
●
60
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 4 / 17
Confidence intervals for average values
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 5 / 17
Confidence intervals for average values
140
●
ŷ =
120
, t? =
● ●
●
●
df = n−2=
foster IQ
●
● ●
●
100 ●
●
●
●
●
● ●
●
● ●
●
ME =
99.35 ± 3.2
● ●
80
=
●
●
●
●
CI
(96.15, 102.55)
●
60 =
70 80 90 100 110 120 130
biological IQ
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 6 / 17
Confidence intervals for average values
Question
How would you expect the width of the 95% confidence interval for
the average IQ score of foster twins whose biological twins have IQ
scores of 130 points (x ? = 130) to compare to the previous confidence
interval (where x ? = 100)?
140 s
(x ? − x̄ )2
●
1
120 ŷ ± tn?−2 sy +
n (n − 1)sx2
● ●
●
●
foster IQ
●
● ●
●
100 ● ● ●
●
● ● ●
● ● ●
●
80 ●
●
● ●
● (a) wider
●
● (b) narrower
60
(c) same width
70 80 90 100 110 120 130
biological IQ (d) cannot tell
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 7 / 17
Confidence intervals for average values
140
●
120 ● ●
foster IQ
●
● ●
● ●
●
100 ● ● ●
●
● ● ●
● ● ●
●
● ●
80 ●
●
●
●
60
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 8 / 17
Confidence intervals for average values
Recap
The width of the confidence interval for E (y ) increases as x ? moves
away from the center.
Conceptually: We are much more certain of our predictions at
the center of the data than at the edges (and our level of
certainty decreases even further when predicting outside the
range of the data – extrapolation).
Mathematically: As (x ? − x̄ )2 term increases, the margin of error
of the confidence interval increases as well.
140
●
120 ● ●
foster IQ
●
● ●
● ●
●
100 ● ● ●
●
● ● ●
● ● ●
●
● ●
80 ●
●
●
●
60
Question
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 10 / 17
Prediction intervals for specific predicted values
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 11 / 17
Prediction intervals for specific predicted values
Application exercise:
Prediction interval
Calculate a 95% prediction interval for the average IQ score of foster twins
whose biological twins have IQ scores of 100 points. Note that the average
IQ score of 27 biological twins in the sample is 95.3 points, with a standard
deviation is 15.74 points.
? = 2.06.
We already found that ŷ ≈ 99.35 and t25
s
1 (x ? − x̄ )2
ŷ ± tn?−2 sy 1+ + =
n (n − 1)sx2
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 12 / 17
Recap - CI vs. PI
140
●
120 ● ●
foster IQ
●
● ●
● ●
●
100 ● ● ●
●
● ● ●
● ● ●
●
● ●
80 ●
●
●
● confidence
60 prediction
140
●
120 ● ●
foster IQ
●
● ●
● ●
●
100 ● ● ●
●
● ● ●
● ● ●
●
● ●
80 ●
●
●
● confidence
60 prediction
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 15 / 17
Recap - CI vs. PI
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 16 / 17
Recap - CI vs. PI
Statistics 101 (Thomas Leininger) U6 - L3: Confidence and prediction intervals for SLR June 19, 2013 17 / 17