Download presentation

Published byAlexandra Christie Modified over 4 years ago

1
**Correlation & the Coefficient of Determination**

SADC Course in Statistics Correlation & the Coefficient of Determination (Session 04)

2
**Learning Objectives At the end of this session, you will be able to**

understand the meaning and limitations of Pearson’s coefficient of correlation (r) describe what is meant by the coefficient of determination (R2) and how it relates to r for a simple linear regression model derive the value of R2 using results of an analysis of variance.

3
What is Correlation? The term “correlation” refers to a measure of the strength of association between two variables. If the two variables increase or decrease together, they have a positive correlation. If, increases in one variable are associated with decreases in the other, they have a negative correlation.

4
**Linear Correlation (r)**

For two quantitative variables X and Y, for which n pairs of measurements (xi, yi) are available, Pearson’s correlation coefficient (r) gives a measure of the linear association between X and Y. The formula is given below for reference.

5
**Linear Correlation (r)**

If X and Y are perfectly positively correlated, r = 1 If there is absolutely no association, r = 0 If X and Y are perfectly positively correlated, r = -1 Thus -1 < r < +1 The closer r is to +1 or -1, the greater is the strength of the association.

6
Possible values for r

7
**Coefficient of Determination**

It is often difficult to interpret r without some familiarity with the expected values of r. A more appropriate measure to use when interest lies in the dependence of Y on X, is the Coefficient of Determination, R2. It measures the proportion of variation in Y that is explained by X, and is often expressed as a percentage.

8
Using anova to find R2 Anova (for 93 rural female headed HHs) of log consumption expenditure versus number of persons per sleeping room is: Source d.f. S.S. M.S. F Prob. Regression 1 4.890 21.9 0.000 Residual 91 20.342 0.2235 Total 92 25.231 0.2743 R2 = Regre. S.S. / Total S.S. = 4.89/25.23 = 0.194

9
Interpretation of R2 From above, we can say that 19.4% of the variability in the income poverty proxy measure is accounted for by the number of persons per sleeping room. Clearly there are many other factors that influence the poverty proxy since over 80% of the variability is left unexplained!

10
Relationship of R2 to r When there is just one explanatory variable being considered (as in above example), the squared value of r equals R2. In the above example, value of r = - = The negative value is used when taking the square root because the graph indicates a negative relationship (see next slide).

11
**Plot of poverty proxy measure vs. persons per sleeping room**

12
Benefits of R2 and r r is useful as an initial exploratory tool when several variables are being considered. The sign of r gives the direction of the association. R2 is useful in regression studies to check how much of the variability in the key response can be explained. R2 is most valuable when there is more than one explanatory variable. High values of R2 are particularly useful when using the model for predictions! (More on this later!)

13
Limitations of r Observe that seemingly high values of r, e.g. r=0.70, explain only about 50% of the variability in the response variable y. So take care when interpreting correlation coefficients. a low value for r does not necessarily imply absence of a relationship – could be a curved relationship! So plotting the data is crucial! Tests exist for testing there is no association. But depending on the sample size, even low values of r, e.g. r=0.20 can give significant results – not a very useful finding!

14
Limitations of R2 Note that R2 is only a descriptive measure to give a quick assessment of the model. Other methods exist for assessing the goodness of fit of the model. Adding explanatory variables to the model always increases R2 . Hence in practice, it is more usual to look at the adjusted R2 The adjusted R2 is calculated as 1 – (Residual M.S./Total M.S.) As with R2 , the adjusted R2 is often expressed as a percentage.

15
**Practical work follows to ensure learning objectives are achieved…**

Similar presentations

OK

McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.

McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To ensure the functioning of the site, we use **cookies**. We share information about your activities on the site with our partners and Google partners: social networks and companies engaged in advertising and web analytics. For more information, see the Privacy Policy and Google Privacy & Terms.
Your consent to our cookies if you continue to use this website.

Ads by Google

Ppt on life processes for class 10 cbse Ppt on non renewable resources Ppt on conference call etiquette rules Ppt on measuring area and volume Water cycle for kids ppt on batteries Ppt on 2 dimensional figures and 3 dimensional slideshow Ppt on production management information system Ppt on statistics in maths what is the range Ppt on digital photography Ppt on business plan for wound care