# Correlation and regression · Grade 11 · 4 units

> Correlation and regression, Grade 11 · 4 units: Reading a scatter diagram and more. Explanation, worked examples and free practice following the Israeli curriculum.

In Correlation and regression (Grade 11 · 4 units) you practise 7 skills: Reading a scatter diagram · The mean point and the graph of means · Working out the correlation coefficient · Comparing correlation coefficients · What the correlation coefficient keeps · The regression line · Predicting with the regression line.

A scatter diagram shows pairs of values as points. When the points rise from left to right the correlation is positive, when they fall it is negative, and when they have no direction there is no correlation. The closer the points lie to one straight line, the stronger the linear correlation, and when they all lie on one line the relation is perfect.

The linear correlation coefficient measures the correlation in one number, always between minus one and one. Its sign is the direction of the correlation and its size is the strength. It does not change when a constant is added to the values or the units change, and it is the same number when the two variables swap roles. Multiplying one variable by a negative number changes its sign.

To work it out, find the means and the standard deviations, multiply the differences from the means in each pair and add. The correlation coefficient is that sum divided by the number of pairs times the two standard deviations. For standardised data it is simply the mean of the products.

The regression line passes through the mean point, and its gradient is the correlation coefficient times the standard deviation of the vertical values, divided by the standard deviation of the horizontal values. Substitute a value into it to get a prediction. The prediction is not exact, and it is sound only within the range of the data. A strong correlation does not prove that one variable causes the other.

**Tip:** The regression line always passes through the mean point.

## What you learn

### Reading a scatter diagram

- Example: The scatter diagram shows pairs of values. (A scatter diagram of 10 points) What correlation is there between the two variables?
- Options: Negative correlation · No correlation · Positive correlation
- Answer: Positive correlation
- Solution: As one value grows, the other tends to grow too: the points rise from left to right. That is a positive correlation.

### The mean point and the graph of means

- Example: The table shows five pairs of values. (A table of pairs of values) What is the mean point?
- Answer: (9, 18)
- Solution: The x values add up to 45 , so x̄ = 9 . The y values add up to 90 , so ȳ = 18 . The mean point is (9, 18)

### Working out the correlation coefficient

- Example: The table shows four pairs of values. (A table of pairs of values) What is the sum of the products (x − x̄)(y − ȳ) over all the pairs?
- Answer: −35
- Solution: The means are x̄ = 7 and ȳ = 15 . The differences from the mean of x : −5, 0, 5, 0 . The differences from the mean of y : 3, −4, −4, 5 . The products of the differences in each pair: −15, 0, −20, 0 . They add up to −35 .

### Comparing correlation coefficients

- Example: Here are three tables of pairs of values. Table A: (Table A, four pairs of values) Table B: (Table B, four pairs of values) Table C: (Table C, four pairs of values) In which table is the linear correlation coefficient equal to minus one?
- Options: Table B · Table C · Table A
- Answer: Table A
- Solution: In Table A every pair lies on one falling line: whenever x grows, y falls at the same rate. So there the correlation coefficient equals minus one.

### What the correlation coefficient keeps

- Example: The linear correlation coefficient of a set of pairs is r = −0.18 . Add 20 to every y value. What happens to the correlation coefficient?
- Options: Its size grows · Its size falls · It changes sign · It does not change
- Answer: It does not change
- Solution: Adding a constant moves every point up and leaves the correlation as it was: the correlation coefficient does not change.

### The regression line

- Example: For a set of pairs: r = 0.9 , Sx = 2 , Sy = 11 , and the mean point is (x̄, ȳ) = (72, 68) . What is the gradient of the regression line of y on x ?
- Answer: 4.95
- Solution: Substitute: b = 0.9 × 11 ÷ 2 = 4.95

### Predicting with the regression line

- Example: The scatter diagram shows 8 points and their regression line, y = 0.81x + 2.71 . (A scatter diagram of 8 points with their regression line) What is the predicted value of y for x = 4.5 ? Round to 1 decimal place.
- Answer: 6.4
- Solution: Substitute: y = 0.81 × 4.5 + 2.71 ≈ 6.4

## Not on the site yet

- Working out the correlation coefficient of large data sets with technology
- Building the regression line from raw data

The exercises are made by rules and the answers are worked out in code. The topic follows the Israeli Ministry of Education’s high school maths curriculum at 4 units (grades 10 to 12).

[Practise on the site](https://kixplo.com/il/en/) · [All Grade 11 · 4 units topics](https://kixplo.com/il/en/math/grade-11-4u/)
