☰ خطة العام · الإحصاء (بالإنجليزية)

Correlation and scatter diagrams

الأسبوع 1 · الارتباط: العلاقة الطردية والعكسية بين متغيرين وأشكال الانتشار ومقياس معامل الارتباط ⁦r⁩ من ⁦−1⁩ إلى ⁦1⁩ · 3 دروس
1

Two variables that change together: direct and inverse correlation, and why a correlation is not a cause

Statistics Sec 3 Term 1, Unit 1, Lesson 1
GoalDecide whether two variables move in the same direction or in opposite directions, and explain why a correlation does not prove a cause.
New words
variable · a quantity that changes from one case to another, such as hours of revisiondirect (positive) correlation · the two variables tend to rise together and fall togetherinverse (negative) correlation · when one variable rises the other tends to fallcorrelation · a statistical way to describe the type and the degree of a relation between two variables
Explanation

In statistics we often record two variables for the same cases: the hours each pupil revised and the mark that pupil got, or the altitude of a town and its temperature. Correlation describes how the two variables move together. If larger values of x usually come with larger values of y (and smaller with smaller), the correlation is direct, also called positive. If larger values of x usually come with smaller values of y, it is inverse, or negative. If knowing x tells us nothing about y, there is no correlation. Notice the word “usually”: one pair that breaks the pattern does not cancel it. A strong correlation means that knowing one value helps us predict the other; a weak one means it helps very little. One warning matters as much as the definitions: two variables can move together without one causing the other. On hot days a beach kiosk sells more ice cream and more people swim, yet ice cream does not make anyone swim; the hot weather raises both. A correlation describes a pattern in the data; it does not tell us why the pattern is there.

Pair (x, y)When x rises, y …Type
hours of revision, quiz markusually risesdirect
altitude of a town, its air temperatureusually fallsinverse
price of a juice, bottles soldusually fallsinverse
seat number, quiz markno patternnone
Worked examples
Hours of training x12345
Goals y34679
Direct: a school team records the weekly hours of training and the number of goals scored in practice (out of 10 shots): (1 h, 3), (2 h, 4), (3 h, 6), (4 h, 7), (5 h, 9). As the hours rise, the goals rise: a direct correlation.
Altitude x (100 m)135810
Temperature y (°C)2825221815
Inverse: five towns, with altitude x (in hundreds of metres) and the average evening temperature y (°C): (1, 28), (3, 25), (5, 22), (8, 18), (10, 15). Higher towns are cooler, so when x rises y falls: an inverse correlation.
DayHighest °CIce creamsSwimmers
1274025
2305538
3337052
4369070
53911085
A correlation is not a cause. Over five days a kiosk records the highest temperature, the ice creams sold and the swimmers. Ice creams and swimmers both rise with the temperature, so they are correlated with each other, but the third variable (the heat) explains both.
Class activity

Think of four pairs of things in your class or home (for example the number of people at home and the loaves of bread bought, or the age of a phone and its price). Write each pair as direct, inverse or none. For one direct pair, say whether one variable really causes the other or whether a third factor could be behind both.

Practice
1
A bus makes the same 60 km trip every day. Compare its average speed with the time it takes. Direct or inverse?
2
A school shop raises the price of a notebook. Over the following months, the number of notebooks sold usually rises or falls? Which type of correlation is price against number sold?
3
The number of pages in a book and the weight of the book: direct, inverse or none?
4
In winter a shop sees that umbrella sales and the number of customers in coats both rise. Does selling umbrellas make people wear coats? Explain.
5
Give one pair of variables that you expect to have no correlation, and say why.