Fun facts about the regression line Equation of regression line If we convert our X and Y scores to z x and z y the regression line through the zscores is Because the means of the zscores are zero and the standard deviations are 1 ID: 934809
Download Presentation The PPT/PDF document "Chapter 9: Interpreting correlation and ..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Chapter 9: Interpreting correlation and regression
Slide2Fun facts about the regression line
Equation of regression line: If we convert our X and Y scores to
zx and zy, the regression line through the z-scores is:
Because the means of the z-scores are zero and the standard deviations are 1.
If we convert our scores to z-scores, the slope of the regression line is equal to the correlation.
10
20
30
40
20
30
40
x
y
r=-0.83, Regression line: Y'=-0.5X+41.5
-3
-2
-1
0
1
-1
0
1
2
zx
zy
r=-0.83, Regression line: Y'=-0.83X+0.00
Slide3Regression to the mean: When |r|<1, the more extreme values of X will tend to be paired to less extreme values of Y.
The slope of the regression line is flatter for lower correlations. This means that the expected values of Y are closer to the mean of Y for lower correlations.
Remember, the slope of the regression line is:
-4
-2
0
2
4
-2
0
2
X
Y
r=0.96
-2
0
2
-2
-1
0
1
2
X
Y
r=0.26
Slide4“I had the most satisfying Eureka experience of my career while attempting to teach flight instructors that praise is more effective than punishment for promoting skill-learning. When I had finished my enthusiastic speech, one of the most seasoned instructors in the audience raised his hand and made his own short speech, which began by conceding that positive reinforcement might be good for the birds, but went on to deny that it was optimal for flight cadets. He said, “On many occasions I have praised flight cadets for clean execution of some aerobatic maneuver, and in general when they try it again, they do worse. On the other hand, I have often screamed at cadets for bad execution, and in general they do better the next time. So please don’t tell us that reinforcement works and punishment does not, because the opposite is the case.”
This
was a joyous moment, in which I understood an important truth about the world: because we tend to reward others when they do well and punish them when they do badly, and because there is regression to the mean, it is part of the human condition that we are statistically punished for rewarding others and rewarded for punishing them. I immediately arranged a demonstration in which each participant tossed two coins at a target behind his back, without any feedback. We measured the distances from the target and could see that those who had done best the first time had mostly deteriorated on their second try, and vice versa. But I knew that this demonstration would not undo the effects of lifelong exposure to a perverse contingency
.”
-
Daniel
Kahneman
Slide5Slide60
1
2
3
4
5
6
7
8
9
10
Shot 1
0
1
2
3
4
5
6
7
8
9
10
S
h
o
t
2
r = 0.46, Y' = 4.05X + 0.50
-3
-2
-1
0
1
2
z-score, Shot 1
-3
-2.5
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
z
-
s
c
o
r
e
,
S
h
o
t
2
Slide7Slide8A classic example of regression to the mean: Correlations between husband and wives’ IQs
Slide9Regression to the mean
Example: correlation of IQs of husband and wives. The IQ’s of husbands and wives have been found to correlate with r=0.5. Both wives and husbands have mean IQs of 100 and standard deviations of 15. Here’s a scatter plot of a typical sample of 200 couples.
55
70
85
100
115
130
145
55
70
85
100
115
130
145
Wife IQ
Husband IQ
n= 200, r= 0.50, Y' = 0.50 X + 50.0
Slide10Regression to the mean
Example: correlation of IQs of husband and wives. According to the regression line, the expected IQ of a husband of wife with an IQ of 115 should be (0.5)(100)+50 = 107.5. This is above average, but closer to the mean of 100.
55
70
85
100
115
130
145
55
70
85
100
115
130
145
Wife IQ
Husband IQ
X = 115, Y' = 0.50 (100) + 50.0 = 107.5
Slide11“Homoscedasticity”
Today’s word:
Slide12“Homoscedasticity”
Variability around the regression line is
constant.
Variability around the regression line varies with x.
Slide13Interpretation of S
YX
, the standard error of the estimate
If the points are distributed with ‘homoscedasticity’, then the Y-values should be normally distributed above and below the regression line.
S
YX
is a measure of the standard deviation of this normal distribution.
This means that 68% of the scores should fall within +/- 1 standard deviation of the regression line, and 98% should fall within +/- 2 standard deviations of the regression line.
68% of Husband’s IQ fall within +/- 12.99 IQ points of the regression line.
55
70
85
100
115
130
145
55
70
85
100
115
130
145
Wife IQ
Husband IQ
Slide14Example: correlation of IQs of husband and wives.
What percent of women with IQ’s of 115 are married to men with IQ’s of 115 or more?
To calculate the proportion above 115, we calculate z and use Table A:
z = (115-107.5)/12.99 = .5744
The area above z =.5744 is .2843. So 28.43% of women with IQ’s of 115 are married to men with IQ’s of 115 or more.
Answer:
We just calculated that the mean IQ of a man married to a woman with an IQ of 115 is 107.5. If we assume normal distributions and ‘
homoscedasticity
’, then the standard deviation of the IQ’s of men married to women with IQ’s of 115 is S
YX:
Example: The correlation between IQs of twins reared apart was found to be 0.76. Assume that IQs are distributed normally with a mean of 100 and standard deviation of 15 points, and also assume homoscedasticity.
Find the regression line that predicts the IQ of one twin based on another’sFind the standard error of the estimate SYX.
What is the mean IQ of a twin that has an IQ of 130?What proportion of all twin subjects have an IQ over 130? What proportion of twins that have a sibling with an IQ of 130 have an IQ over 130?
Slide16120
155
190
225
260
295
330
120
155
190
225
260
295
330
Batting average this year
Batting average next year
Another example:
The year to year correlation for a typical baseball player’s batting averages is
0.41
. Suppose that the batting averages for this year is distributed normally with a mean of 225 and a standard deviation of 35.
For players that batted 300 one year, what is the expected distribution of batting averages for next year?
Slide17Answer:
The batting averages will be distributed normally with mean determined by the regression line, and the standard deviation equal to the standard error of the mean.For X = 300, Y’ = .41(300)+132.75 = 255.75So the expected batting average next year should be distributed normally with a mean of 255.75 and a standard deviation of 31.92. Note that the mean is higher than the overall mean of 225, but lower than the previous year of 300.
Another example:The year to year correlation for a typical baseball player’s batting averages is
0.41
. Suppose that the batting averages for this year is distributed normally with a mean of 225 and a standard deviation of 35.
For players that batted 300 one year, what is the expected distribution of batting averages for next year?
Slide18Answer: We know that the expected batting average next year should be distributed normally with a mean of 255.75 and a standard deviation of 31.92.
This one of our old z-transformation problems.z = (300-255.75)/31.92 = 1.39Pr(z>1.39) = .0823. Only 8.23% of the players that batted 300 this year will bat 300 or higher next year.
On the other hand, only 1.61% of all batters will bat 300 or higher. What percent of players that bat 300 this year will bat 300 or higher next year?
Slide19Proportion of variance in Y associated with variance in X.Here
are two hypothetical samples showing scatter plots of ages of brides and grooms for a correlation of 1 and a correlation of 0.Correlation of r=1.0
10
20
30
40
20
30
40
Age of Bride
Age of Groom
r=0.00, Regression line: Y'=0.00X+26.8
Correlation of r=0.0
For r=1,
all
of the variance in Y can be explained (or predicted) by the variance in X.
For r=0,
none
of the variance in Y can be explained (or predicted) by the variance in X.
So r reflects the amount that variability
in Y
can be explained by variability
in X.
0
20
40
0
10
20
30
40
50
Age of Bride
Age of Groom
r=1.00, Regression line: Y'=1.20X-3.32
Slide205
10
15
20
25
30
35
5
10
15
20
25
Stress
Eating Difficulties
Y’
total variance of Y
variance of Y not explained by X
variance of Y explained by X
It turns out that the total variance is the sum of the corresponding component variances.
The deviation between Y and the mean, can be broken down into two components:
The total variance of Y is the sum of the variances explained and not explained by X.
Slide21The total variance is the sum of the variances explained and not explained by x.
The proportion of the variance in Y that is explained by X is:
r
2
is called the
coefficient of determination
.
Slide22r2
is the proportion of variance in Y explained by variance in X, and is called the coefficient of determination.The remaining variance, k
2 = 1-r2 , is called the coefficient of nondetermination
-20
0
20
40
0
10
20
30
40
50
x
y
r = 0.71
If r= .7071, then r
2
= 0.5, which means that half the variance in Y can be explained by variance in X. The other half cannot be explained by variance in X
Slide23Factor that influences r: (1) ‘Range of Talent’ (sometimes called ‘restricted range’)
Example: The IQ’s of husbands and wives.
55
70
85
100
115
130
145
70
85
100
115
130
IQ wife
IQ husband
r
=0.5
Slide24Now suppose we were to only sample from women with IQ’s of 115 or higher. This is called ‘restricting the range’.
55
70
85
100
115
130
145
70
85
100
115
130
IQ wife
IQ husband
Slide25100
115
130
145
160
100
115
130
IQ wife
IQ husband
r = 0.211
The correlation among these remaining couples’ IQs is much lower
Slide2655
70
85
100
115
130
145
70
85
100
115
130
IQ wife
IQ husband
r = 0.50
Restricting the range to make a discontinuous distribution can often increase the correlation:
Slide2755
70
85
100
115
130
145
70
85
100
115
130
IQ wife
IQ husband
Restricting the range to make a discontinuous distribution can often increase the correlation:
r = 0.50
Slide2855
70
85
100
115
130
145
70
85
100
115
130
IQ wife
IQ husband
r = 0.670
Restricting the range to make a discontinuous distribution can often increase the correlation:
Slide29Factor that influences r: (2) ‘Homogeneity of Samples’
Correlation values can be both increased or decreased if we accidentally include two (or more) distinct sub-populations.
60
62
64
66
68
70
72
50
55
60
65
70
75
80
Average of parent's height (in)
Height of all students
n = 96, r = 0.43
Female
Male
60
62
64
66
68
70
72
50
55
60
65
70
75
80
Average of parent's height (in)
Female student's height (in)
n = 75, r = 0.56
60
62
64
66
68
70
72
50
55
60
65
70
75
80
Average of parent's height (in)
Male student's height (in)
n = 21, r = 0.44
Slide30Factor that influences r: (2) ‘Homogeneity of Samples’
Correlation values can be both increased or decreased if we accidentally include two (or more) distinct sub-populations.
Slide31Factor that influences r: (2) ‘Homogeneity of Samples’
Correlation values can be both increased or decreased if we accidentally include two (or more) distinct sub-populations.
Slide32Factor that influences r: (2) Outliers
Just like the mean, extreme values have a large influence on the calculation of correlation.