The regression line and prediction
The regression line and prediction
When there is a linear relation, is predicted from with one straight line that runs “through the middle” of the points – the regression line. The dashed line is the regression line of the son’s height on the father’s height:
- The prediction of for a value of is the point on the line above .
- The line is one straight line for every value of , not broken lines as in the means graph.
- There is only one line for which the sum of the squares of the points’ vertical distances from it is the smallest – that is the regression line.
The regression line predicting from passes through the point of the means , and its slope is set by the correlation coefficient and the standard deviations:
- The sign: and are positive, so the slope has the sign of – the line rises in a positive relation and falls in a negative one.
- The size: when the points lie on the line, and an one standard deviation larger predicts a one standard deviation larger: .
- When the relation is weaker, the prediction is “pulled” towards the mean : for the son of a very tall father the predicted height is less extreme. When , – the prediction is always .
Pupils sat two maths tests.
In the first test: , .
In the second test: , .
The correlation coefficient between the two tests is .
A pupil scored 80 in the first test. What is the prediction of the pupil’s mark in the second test?
- .
- , that is .
- : the prediction is 86.2.
- For a pupil who scored 70, the mean, the prediction is 75 – the mean of the second test.
A large company recorded every day the number of employees who caught flu () and the number of employees who worked from home ().
, .
, .
.
Work out the slope of the regression line, to two decimal places.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Write the equation of the regression line in the form . Start from , with the rounded slope.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
By the regression line, how many employees will work from home on a day when 15 employees caught flu?
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Why, in your opinion, is ?
Among 300 teenagers, the relation between age (, in years) and the number of minutes a day they spend on social networks () was examined.
The mean age is 15.4 years, and the standard deviation 1.2 years.
The mean time is 75 minutes, and the standard deviation 24 minutes.
.
Find the equation of the regression line predicting the time on social networks from the age, and write it on the board.
By the regression line, how many minutes a day does a girl aged 16 years and 3 months spend on social networks?
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
A lecturer looked at whether there is a linear relation between students’ number of absences from lectures () and their mark in the final exam ().
The mean number of absences is , and the mean mark .
The correlation coefficient is negative.
The equation of the regression line is one of these: , , , .
Which one? Explain.
The standard deviations are , . Work out the correlation coefficient.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
For which number of absences does the regression line predict the mark 80?
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power