Correlation Analysis Muhammad Irfan Malik PhD (Econometrics) School of Social Sciences and Humanities, National University of Sciences and Technology, Islamabad Email: irfanmalik@s3h.nust.edu.pk Outline β β β β Correlation Correlation Coefficient Application Interpretation of correlation coefficient 2 What is Correlation? Correlation is a statistical measure that expresses the extent to which two variables are linearly related. It’s a common tool for describing simple relationships without making a statement about cause and effect. 3 Correlation Coefficient The correlation coefficient is a descriptive measure of the strength and direction of the linear (straight-line) relationship between two variables. There are several statistics that can be used to measure the correlation between the variables. The most commonly used measure is Karl Pearson Product Moment correlation coefficient. 4 Pearson Correlation Coefficient π= (π₯ − π₯)(π¦ − π¦) (π₯ − π₯)2 (π¦ − π¦)2 5 Pearson Correlation Coefficient π= (π₯ − π₯)(π¦ − π¦) − π₯)2 (π¦ π₯π¦ − π₯ π¦ π (π₯ = π₯2 − πΆππ£πππππππ (π₯, π¦)= π₯ π 2 1 ππ₯π¦ =π−1 = − π¦)2 π¦2 − π₯π¦ − π₯π¦ − ππ₯π¦ π¦ π π₯ π¦ π [ π₯ 2 − ππ₯ 2 ] [ π¦ 2 − ππ¦ 2 ] 2 ππ₯π¦ πΆππ£πππππππ (π₯, π¦) = = ππ₯ ππ¦ ππ· π₯ ππ·(π¦) ππ· π₯ = ππ₯ = 6 (π₯−π₯)2 π−1 ππ· π¦ = ππ¦ = (π¦−π¦)2 π−1 Understanding the Linear Correlation Coefficient οΆ r reflects the slope of the scatterplot. οΆ The magnitude of r indicates the strength of the linear relationship. οΆ The sign of r suggests the type of linear relationship οΆ The sign of r and the sign of the slope of the regression line are identical 7 8 big concept Bring the attention of your audience over a key concept using icons or illustrations 9 4000 3000 2000 1000 0 You can insert graphs from Excel or Google Sheets 10