0580 · Extended · For exams 2028–2030

E9.5 Statistics

Scatter diagrams (مخططات الانتشار)

Syllabus aims: draw and interpret scatter diagrams, understand correlation, and draw and use a line of best fit.

1. The idea

A scatter diagram (مخطط الانتشار) plots pairs of values as small crosses. Positive correlation: as x increases, y increases (points rise). Negative correlation: as x increases, y decreases. Zero correlation: no pattern.

A line of best fit (خط الأفضل ملاءمة) is one ruled straight line, drawn by eye through the middle of the points. It should go through the point (mean x, mean y), extend across all the data, and have roughly equal points above and below. Use it to estimate: inside the data range this is interpolation (reliable), outside it is extrapolation (less reliable).

2. Worked examples (أمثلة محلولة)

Example 1 (correlation)

Hours of revision (x) and test marks (y): (1, 35), (2, 40), (3, 48), (4, 50), (5, 58), (6, 62), (7, 70), (8, 75). Describe the correlation.20304050607080900123456789Hours of revisionTest markmean pointy-axis starts at 20

Step 1. As x increases from 1 to 8, y increases from 35 to 75.

Step 2. The points rise from lower left to upper right and lie close to a line.

Step 3. Strong positive correlation.

Example 2 (line of best fit)

For the same data find the mean point and an equation for a line of best fit.

Step 1. Mean x = 368 = 4.5. Mean y = 4388 = 54.75. The line passes through (4.5, 54.75).

Step 2. Using the points (1, 35) and (8, 75) as a guide, the gradient is about 75 − 358 − 1 = 5.7. A full calculation (least squares) gives gradient 5.71 and intercept 29.0.

Step 3. A good line is y = 5.7x + 29 (it passes very close to the mean point).

Check: at x = 4.5: 5.7 × 4.5 + 29 = 54.65, very close to 54.75. ✓

Example 3 (estimating)

Use y = 5.7x + 29 to estimate the mark for 5.5 hours. Is it reliable? What about 12 hours?

Step 1. x = 5.5: y = 5.7 × 5.5 + 29 = 60.35. The estimate is about 60 marks. It is inside the data range (1 to 8), so it is interpolation: reasonably reliable.

Step 2. x = 12 gives about 97 marks, but 12 hours is far outside the data.

Step 3. This is extrapolation: not reliable. Marks cannot keep rising at the same rate.

3. Practice (أسئلة متدرجة)

Try each question first. Tap to see the answer.

Q1 (easy). As the temperature rises, sales of hot drinks fall. What type of correlation is this?

Answer

Negative correlation.

Q2 (easy). Shoe size and the day of the week of birth: what correlation do you expect?

Answer

Zero correlation: no connection.

Q3 (medium). A line of best fit has equation y = 2x + 5. Estimate y when x = 10.

Answer

2 × 10 + 5 = 25.

Q4 (medium). Data range x from 2 to 20. Is an estimate at x = 15 interpolation or extrapolation? What about x = 40?

Answer

x = 15 is inside the range: interpolation. x = 40 is outside the range: extrapolation, less reliable.

Q5 (harder). Give two things that a good line of best fit should do.

Answer

It should be a single ruled straight line that goes across the whole data set, with roughly equal numbers of points above and below, and through the mean point.

4. Summary (ملخص)