Docsity

Correlation & Regression Analysis Study Notes | Statistics PDF, Summaries of Mathematics

Toggle sidebar
bg1
CORRELATION & REGRESSION ANALYSIS
Concepts • Formulas • Interpretation • Solved Examples | Study Notes for Statistics Students
1. Introduction to Correlation
Correlation measures the strength and direction of the linear relationship between two numerical variables. It
tells us whether the variables tend to move together, move in opposite directions, or show no consistent pattern at
all.
Why it's useful: Correlation helps researchers, businesses, and scientists spot relationships in data, make
predictions, and decide which variables are worth investigating further — before building more detailed models.
Real-world examples: Hours studied vs exam scores (positive), speed vs travel time for a fixed distance (negative),
and shoe size vs IQ (no real correlation).
2. Types of Correlation
Type Description
Positive Correlation As one variable increases, the other also increases (both move in the same direction).
Negative Correlation As one variable increases, the other decreases (they move in opposite directions).
Zero / No Correlation There is no consistent pattern between the two variables.
Where Correlation Analysis Is Used
• Business: Checking whether advertising spend correlates with sales revenue.
• Medicine: Studying the relationship between exercise levels and blood pressure.
• Environmental Science: Examining how temperature correlates with ice cap melting rates.
• Education: Investigating whether attendance correlates with academic performance.
Note: These scatter plots show correlation visually. The next sections introduce the Pearson correlation coefficient (r), which
gives an exact numerical measure of what these plots show.
Page 1 of 5 | Correlation & Regression Analysis: Study Notes
pf3
pf4
pf5

Partial preview of the text

Download Correlation & Regression Analysis Study Notes | Statistics PDF and more Summaries Mathematics in PDF only on Docsity!

CORRELATION & REGRESSION ANALYSIS

Concepts • Formulas • Interpretation • Solved Examples | Study Notes for Statistics Students

1. Introduction to Correlation

Correlation measures the strength and direction of the linear relationship between two numerical variables. It tells us whether the variables tend to move together, move in opposite directions, or show no consistent pattern at all. Why it's useful: Correlation helps researchers, businesses, and scientists spot relationships in data, make predictions, and decide which variables are worth investigating further — before building more detailed models. Real-world examples: Hours studied vs exam scores (positive), speed vs travel time for a fixed distance (negative), and shoe size vs IQ (no real correlation).

2. Types of Correlation

Type Description

Positive Correlation As one variable increases, the other also increases (both move in the same direction).

Negative Correlation As one variable increases, the other decreases (they move in opposite directions).

Zero / No Correlation There is no consistent pattern between the two variables.

Where Correlation Analysis Is Used

  • Business: Checking whether advertising spend correlates with sales revenue.
  • Medicine: Studying the relationship between exercise levels and blood pressure.
  • Environmental Science: Examining how temperature correlates with ice cap melting rates.
  • Education: Investigating whether attendance correlates with academic performance. Note: These scatter plots show correlation visually. The next sections introduce the Pearson correlation coefficient (r) , which gives an exact numerical measure of what these plots show.

3. Scatter Plots A scatter plot displays paired data as points on an x-y grid, making it the easiest way to visually check for a relationship before calculating any statistic. From a scatter plot we can read:

  • Direction: Do the points trend upward (positive), downward (negative), or show no clear trend?
  • Strength: How closely do the points cluster around a straight line? Tightly clustered points = strong relationship; widely scattered points = weak relationship.
  • Form: Is the pattern linear (a straight-line trend) or non-linear (a curved pattern, e.g. U-shaped)? Pearson’s r only measures linear relationships — it can miss strong non-linear patterns. 4. Pearson Correlation Coefficient Pearson’s r is a single number that measures the strength and direction of a linear relationship between two variables. −1 ≤ r ≤ + Value of r Interpretation

r = +1 Perfect positive linear relationship

r = −1 Perfect negative linear relationship

r = 0 No linear relationship

Close to +1 or −1 Strong linear relationship

Close to 0 Weak or no linear relationship

5. Interpreting Correlation

Range of |r| Strength

0.00 – 0.19 Very weak (practically none)

0.20 – 0.39 Weak

0.40 – 0.59 Moderate

0.60 – 0.79 Strong

0.80 – 1.00 Very strong

Bonus Concept: Coefficient of Determination (r²)

Squaring Pearson's r gives r² , which tells us the percentage of variation in one variable that is explained by the other. For example, if r = 0.8, then r² = 0.64, meaning 64% of the variation in one variable is explained by the other (the remaining 36% is due to other factors).

9. Understanding the Slope and Intercept

Slope (b): Tells us how much ŷ changes for every 1-unit increase in x. A positive slope means ŷ increases as x increases; a negative slope means ŷ decreases as x increases. A slope near zero means x has little effect on ŷ. Intercept (a): The predicted value of ŷ when x = 0. It anchors the line on the y-axis, but is only meaningful if x = 0 is a realistic value in context.

10. Solved Examples

Example 1 — Interpreting Correlation Coefficients

Interpret the following: (a) r = 0.92, (b) r = −0.45, (c) r = 0.03. (a) r = 0.92: Very strong positive linear relationship — as one variable increases, the other increases very consistently. (b) r = −0.45: Moderate negative relationship — the variables tend to move in opposite directions, but not perfectly. (c) r = 0.03: Essentially no linear relationship between the variables.

Example 2 — Using a Regression Equation to Predict

A regression equation relating study hours (x) to exam score (ŷ) is ŷ = 50 + 5x. Predict the exam score for a student who studies 6 hours. Step 1: Substitute x = 6 into the equation: ŷ = 50 + 5(6). Step 2: ŷ = 50 + 30. Step 3: ŷ = 80. The predicted exam score is 80.

Example 3 — Interpreting Slope and Intercept

For the equation ŷ = 50 + 5x above, interpret the slope and intercept. Slope (b = 5): For every additional hour studied, the predicted exam score increases by 5 points. Intercept (a = 50): A student who studies 0 hours is predicted to score 50 — this is the baseline score before any studying.

Caution: This equation was built from students who studied between 0 and 10 hours. Using it to predict a score for x = 40 hours would be an unreliable extrapolation — outside the observed data range.

Try It Yourself

A regression equation for advertising spend (x, in $1000s) and sales (ŷ, in $1000s) is ŷ = 20 + 3x. Predict sales when x = 5, and interpret the slope. Step 1: ŷ = 20 + 3(5) = 20 + 15 = 35 (predicted sales = $35,000). Step 2: Slope interpretation: every extra $1, spent on advertising is associated with an increase of $3,000 in predicted sales.

11. Common Student Mistakes - Confusing correlation with causation: A strong r does not prove one variable causes the other. - Thinking correlation proves cause and effect: Always consider third variables and reverse causation before concluding. - Ignoring the sign of r: A r = −0.8 is just as strong as r = 0.8 — only the direction differs. - Misinterpreting r near zero: r ≈ 0 means no linear relationship — a strong non-linear (curved) relationship may still exist. - Confusing independent and dependent variables: x is used to predict ŷ, not the other way around. - Predicting outside the data range (extrapolation): Regression equations are only reliable within the range of x-values used to build them. 12. Exam Tips & Quick Revision Summary

Key Formulas & Concepts

Concept Key Point

Range of r −1 ≤ r ≤ +

Positive correlation Both variables increase together (r > 0)

Negative correlation One variable increases as the other decreases (r < 0)

Regression equation ŷ = a + bx

Meaning of slope (b) Change in ŷ for each 1-unit increase in x

Meaning of intercept (a) Predicted ŷ when x = 0

Key Symbols

r x ŷ a b Pearson correlation coefficient Independent variable^

Predicted (dependent) value Intercept^ Slope

7-Step Problem-Solving Checklist

  • Step 1: Identify the two variables and which is independent (x) / dependent (ŷ).
  • Step 2: Examine the scatter plot for an overall pattern.
  • Step 3: Identify the direction (positive, negative, or none).
  • Step 4: Assess the strength of the relationship (weak, moderate, strong).
  • Step 5: Interpret r correctly — check both its sign and magnitude.
  • Step 6: Use the regression equation carefully, only within the observed data range.
  • Step 7: Avoid claiming causation without further supporting evidence.

Final Reminders

  • A high r² means a good linear fit, but it still does not prove causation.
  • Always sketch or view the scatter plot first — numbers alone can be misleading (e.g. hidden non-linear patterns).
  • The regression line minimizes the sum of squared vertical distances (least squares method).
  • Report r to 2 decimal places, and always state both its sign and strength when interpreting. Page 5 of 5 | Correlation & Regression Analysis: Study Notes — End of Notes