



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Correlation measures the strength and direction of the relationship between two numeric variables. It tells us whether the variables tend to move together, move in opposite directions, or show no clear connection at all.
Correlation is useful because it lets researchers, students, and analysts quickly check whether two variables are related before doing deeper analysis. For example, a business analyst might check whether advertising spending and sales revenue rise together.
Key Idea Correlation describes how two variables change together — it does not, by itself, prove that one variable causes the other to change.
The correlation coefficient, written as r, is a single number that measures both the strength and the direction of a linear relationship between two variables.
Range of r r always lies between -1 and +1 (that is, -1 ≤ r ≤ +1).
Formula for the Correlation Coefficient (r) r = [n(sum of XY) - (sum of X)(sum of Y)] / sqrt{ [n(sum of X^2 ) - (sum of X)^2 ] × [n(sum of Y^2 ) - (sum of Y)^2 ] } Here, n is the number of paired data values (X, Y). This formula is normally computed using a calculator, spreadsheet, or software rather than by hand.
Interpreting Common Values of r
Value of r Interpretation
r = +1 Perfect positive correlation
r = -1 Perfect negative correlation
r = 0 No linear correlation
Value of r Interpretation
0.7 to 0.99 (or -0.7 to -0.99) Strong correlation
0.3 to 0.69 (or -0.3 to -0.69) Moderate correlation
0 to 0.29 (or 0 to -0.29) Weak correlation
4. Scatter Plots
A scatter plot is a graph that places one variable on the horizontal axis and the other on the vertical axis, with each pair of values shown as a single point. Scatter plots let us see the pattern of a relationship before calculating any statistics.
Regression is a statistical method used to describe the relationship between variables in a way that allows one variable to be predicted from another. While correlation only measures how strongly two variables are related, regression goes a step further and produces an equation that can estimate values.
Correlation vs Regression — In One Line Correlation tells us WHETHER a relationship exists and how strong it is; regression tells us HOW to predict one variable using the other.
6. Simple Linear Regression
Simple linear regression models the relationship between two variables using a straight line. This line is described by the regression equation below.
Simple Linear Regression Equation Y = a + bX
Formulas for Calculating a and b b = [n(sum of XY) - (sum of X)(sum of Y)] / [n(sum of X^2 ) - (sum of X)^2 ] a = [(sum of Y) - b(sum of X)] / n As with the formula for r, these are usually computed with a calculator or spreadsheet once the basic sums have been found from the data.
Example 4: Finding the Regression Line from Data A small dataset gives the following paired values for X (hours worked) and Y (units produced): (1, 3), (2, 5), (3, 6), (4, 8). Step 1: Find the basic sums: n = 4, sum of X = 10, sum of Y = 22, sum of XY = 63, sum of X squared = 30 Step 2: Calculate the slope: b = [4(63) - (10)(22)] / [4(30) - (10)^2 ] = (252 - 220) / (120 - 100) = 32 / 20 =
Step 3: Calculate the intercept: a = [22 - 1.6(10)] / 4 = (22 - 16) / 4 = 1. Answer: The regression equation is Y = 1.5 + 1.6X.
9. Common Mistakes
Correlation and regression are often misunderstood by beginners. Keep these points in mind when interpreting results:
Study Tip When you see a correlation or regression result, always ask: "Could there be another explanation, such as a third variable, coincidence, or reversed cause and effect?" This habit helps avoid the most common interpretation mistakes.
10. Quick Revision Summary
Use this page as a fast reference before an exam. It brings together every key formula and idea covered in these notes.
Concept Key Formula / Idea
Correlation Coefficient r measures strength and direction of a linear relationship; -1 ≤ r ≤ +
Positive Correlation Both variables increase together (r > 0)
Negative Correlation One variable increases as the other decreases (r < 0)
Zero Correlation No consistent linear pattern (r close to 0)
Regression Equation Y = a + bX
Slope Formula b = [n(sum XY) - (sum X)(sum Y)] / [n(sum X squared) - (sum X) squared]
Intercept Formula a = [(sum Y) - b(sum X)] / n
Intercept (a) Predicted value of Y when X = 0
Slope (b) Change in Y for each one-unit increase in X