Two measurements on each member of a sample: do they move together? The correlation coefficient $r$ says how closely the points follow a line; the regression line is that line, and it predicts one variable from the other, as long as we stay inside the data.
IScatter diagrams and correlationSL 4.4 · bivariate data, Pearson's $r$, correlation and causation
I.1 Describing a correlation from $r$
Pearson's correlation coefficient
Describe the correlation when $r=-0.81$, when $r=0.35$ and when $r=0.02$.
Apply
- Describe $r=0.96$.
Answer
strong positive - Describe $r=-0.47$.
Answer
weak (to moderate) negative
I.2 $r$ on the GDC
Find $r$ for $x$: $1,\,2,\,3,\,4,\,5,\,6$ and $y$: $2,\,5,\,4,\,8,\,9,\,11$, and describe the correlation.
Apply
- Find $r$ for $x$: $2,\,4,\,6,\,8$ and $y$: $9,\,7,\,6,\,2$.
Answer
$-0.965$
I.3 Correlation is not causation
Across many towns, the number of doctors and the number of deaths each year are strongly positively correlated. Do doctors cause deaths?
Apply
- In children, shoe size and reading score are positively correlated. Why?
Answer
both grow with age
IIRegression linesSL 4.4 · 4.10 · $y$ on $x$, $x$ on $y$, interpolation and extrapolation
II.1 The regression line of $y$ on $x$
regression line of y on x
For the data of Example 2, find the regression line of $y$ on $x$ and check that it passes through the mean point.
Apply
- The regression line of $y$ on $x$ for $x$: $2,\,4,\,6,\,8$ and $y$: $9,\,7,\,6,\,2$.
Answer
$y=-1.1x+11.5$
II.2 Predicting: interpolation and extrapolation
predicting
The line $y=0.9x+12$ was found from data with $20\le x\le60$ and $r=0.95$. Estimate $y$ when $x=45$ and when $x=90$, and comment.
Apply
- Example 4's line: estimate $y$ when $x=4.5$.
Answer
$8.24$ - A line with $r=0.12$: is an estimate inside the data reliable?
Answer
no: the correlation is very weak
II.3 The mean point
The regression line of $y$ on $x$ is $y=2.4x+7$ and $\bar x=5$. Find $\bar y$.
Apply
- $y=ax+2$, $\bar x=8$, $\bar y=26$: find $a$.
Answer
$a=3$
II.4 The line of $x$ on $y$
For the data of Example 2, estimate $x$ when $y=7$.
Apply
- For $x$: $2,\,4,\,6,\,8$ and $y$: $9,\,7,\,6,\,2$, estimate $x$ when $y=5$.
Answer
$x=-0.846y+10.1$: $5.85$
IIIExam-style questionsfrom the shortest to the longest · every one in steps, with its marks
A Reading r and a regression line
For $12$ cars, the age $x$ years and the value $y$ thousand euros give $r=-0.92$ and the regression line of $y$ on $x$, $y=-2.5x+80$. The ages range from $2$ to $15$ years, and the mean age is $10$ years.
Working (a)
Working (b)
Working (c)
Working (d)
For a set of bivariate data, the regression line of $y$ on $x$ is $y=0.8x+4$ and $\bar x=15$.
Working (a)
Working (b)
B Data on the GDC (Paper 2)
Eight students recorded the hours $x$ they studied for a test and their score $y$. $\displaystyle \begin{array}{c|cccccccc}x\&2\&3\&5\&6\&8\&9\&11\&12\\\hline y\&47\&55\&58\&63\&66\&75\&76\&85\end{array}$
Working (a)
Working (b)
Working (c)
Working (d)
IVWhich method? Read the questionthe whole topic on one page
command terms