Correlation
Do taller kids run faster?
๐ School maths ยท Years 8โ9Statistics โ Plot a scatter graph and judge the correlation.Maths by year โ
The Case. At sports day the tallest kids seemed to storm the 100 m while the shorter ones trailed. But is being tall really linked to being fast โ or did we just remember the winners? Coaches and sports scientists ask this exact question; let's measure it properly instead of guessing.
Your tools. numpy's np.corrcoef gives a number from -1 to 1 that says how strongly two things move together.
Investigate. Press Run. Each dot is a child. A clear downward slope means taller โ faster (less time).
- A value near -1 or 1 is a strong link; near 0 means no link.
- Does the pattern hold if you change the numbers?