Download presentation

Presentation is loading. Please wait.

Published byRichard Schroeder Modified over 2 years ago

1
Regression To be able to calculate the regression line of y on x To be able to interpret the equation of the regression line By the end of the lesson you should be able to answer this regression exam question

2
The meaning of the regression line Rather than draw a line a best fit by eye you can calculate and plot accurately a line that minimises the distance between the data plotted and the line. y = a + bx a is the value of the melting point when carbon is 0% b is the rate at which the melting point reduces as the carbon percentage increases The vertical distance between the points and the line of best fit are called residuals (red lines) This is why the regression line is sometimes called the least squares regression line

3
The meaning of the regression line The x axis shows the independent (or explanatory) variable. It is set independently of the other variable The y axis shows the dependent (or response) variable. These variables are determined by the x values

4
Important formulae Sxx = Σx² - (Σx)² n Sxy = Σxy - ΣxΣy n b = Sxy Sxx a = y - bx Regression line equation y = a + bx

5
Example The results from an experiment in which different masses were placed on a spring and the resulting length of the spring measured, are shown below Mass, x (kg) Length, y (cm) Σx = 300, Σx²=22000, x = 60, Σxy = 18238, Σy² = , Σy = 288.6, y = a)Calculate Sxx and Sxy b)Calculate the regression line of y on x c)Calculate the length of the spring when a mass of 50kg is added d)Calculate the length of the spring when a mass of 140kg is added. Give a reason why this may or may not be a reliable answer.

6
Mass, x (kg) Length, y (cm) Σx = 300, Σx²=22000, x = 60, Σxy = 18238, Σy² = , Σy = 288.6, y = a)Calculate Sxx and Sxy Sxx = ² = Sxy = – 300x288.6 = b) Calculate the regression line of y on x b = Sxy = 922 = Sxx 4000 a = y – bx a = – x 60 = y = x

7
c) Calculate the length of the spring when a mass of 50kg is added d) Calculate the length of the spring when a mass of 140kg is added. Give a reason why this is or is not a reliable answer y = x c) Y = x50 = cm d) Y = x 140 = 75.66cm This may not a reliable answer as it has been calculated using extrapolation. It could be unreliable140kg is outside the range of data given and used to calculate the regression line.

8
Plenary Can you now answer this mathsnet exam question?

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google