14
Monday, November 9 Correlation and Linear Regression

Monday, November 9 Correlation and Linear Regression

Embed Size (px)

Citation preview

Page 1: Monday, November 9 Correlation and Linear Regression

Monday, November 9

Correlation and Linear Regression

Page 2: Monday, November 9 Correlation and Linear Regression

You will not leave the room until…

• you have understood that a correlation is a systematic quantitative expression of the proportion of explained and unexplained co-variation of two variables.

Page 3: Monday, November 9 Correlation and Linear Regression

You will not leave the room until…

• you have understood that a correlation is a systematic quantitative expression of the proportion of explained and unexplained co-variation of two variables … and you love knowing this fact!

Page 4: Monday, November 9 Correlation and Linear Regression

zy = zx

When X and Y are perfectly correlated

Page 5: Monday, November 9 Correlation and Linear Regression

We can say that zx perfectly predicts zy

zy’ = zx

Or

zy = zx

^

Page 6: Monday, November 9 Correlation and Linear Regression

When they are imperfectly correlated, i.e., rxy ≠ 1 or -1

zy’ = rxyzx

Page 7: Monday, November 9 Correlation and Linear Regression

Example from hands…

Page 8: Monday, November 9 Correlation and Linear Regression
Page 9: Monday, November 9 Correlation and Linear Regression

When they are imperfectly correlated, i.e., rxy ≠ 1 or -1

zy’ = rxyzx

Y’ = bYXX + aYX

bYX = rYX (sy / sx)

aYX = Y - bYXX

_ _

Page 10: Monday, November 9 Correlation and Linear Regression

When they are imperfectly correlated, i.e., rxy ≠ 1 or -1

zy’ = rxyzx

Y’ = bYXX + aYX

bYX = rYX (sy / sx)

aYX = Y - bYXX

_ _

Page 11: Monday, November 9 Correlation and Linear Regression

Assumptions

• Linearity

• Homoscedasticity

Page 12: Monday, November 9 Correlation and Linear Regression

Explained and unexplained variance

SStotal = SSexplained + SSunexplained

SStotal = SSexplained + SSunexplained

N N N

Page 13: Monday, November 9 Correlation and Linear Regression

Explained and unexplained variance

r2XY = 1 -

σ2Y’ [ =unexplained]

σ2Y [ =total]

=

σ2Y - σ2

Y’

σ2Y

r2 is the proportion explained variance to the total variance.

Page 14: Monday, November 9 Correlation and Linear Regression

Point-biserial correlation rpb

• A correlation coefficient r that is calculated when one of the variables being correlated has only two levels, which are assigned arbitrary values (e.g., 0, 1).

• This coefficient is useful in expressing the effect size of an independent samples t-test, as the proportion of the variance in the dependent variable that is explained by the independent variable.