Calculating Residuals © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules.

Slides:



Advertisements
Similar presentations
“Teach A Level Maths” Vol. 2: A2 Core Modules
Advertisements

18: Circles, Tangents and Chords
© Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules 22a: Integrating the Simple Functions.
28: Harder Stationary Points © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
42: Differentiating Parametric Equations © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules.
“Teach A Level Maths” Statistics 1
Product Moment Correlation Coefficient © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules.
55: The Vector Equation of a Plane © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules.
6: Roots, Surds and Discriminant © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
21:The Factor Theorem © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
21: Simpson’s Rule © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
49: A Practical Application of Log Laws © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
19: Laws of Indices © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
1: Straight Lines and Gradients © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
9a: Differentiating Harder Products © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules.
31: Arithmetic Sequences and Series © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
“Teach A Level Maths” Vol. 1: AS Core Modules
6: Discriminant © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
20: Stretches © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
15: The Gradient of the Tangent as a Limit © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
24: Indefinite Integration © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
44: Stretches of the Trigonometric Functions © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
47: More Logarithms and Indices
9: Linear and Quadratic Inequalities © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
25: Definite Integration © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
13: Stationary Points © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
12: Tangents and Gradients © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
8: Simultaneous Equations and Intersections © Christine Crisp “Teach A Level Maths” Vol. 1: AS Core Modules.
“Teach A Level Maths” Statistics 1
“Teach A Level Maths” Vol. 1: AS Core Modules
Cumulative Distribution Function
“Teach A Level Maths” Statistics 1
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Statistics 1
“Teach A Level Maths” Vol. 2: A2 Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Statistics 1
“Teach A Level Maths” Vol. 2: A2 Core Modules
18: Circles, Tangents and Chords
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
17: Circles, Lines and Tangents
“Teach A Level Maths” Vol. 1: AS Core Modules
47: More Logarithms and Indices
“Teach A Level Maths” Vol. 2: A2 Core Modules
18: Circles, Tangents and Chords
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 2: A2 Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
“Teach A Level Maths” Vol. 1: AS Core Modules
17: Circles, Lines and Tangents
“Teach A Level Maths” Vol. 1: AS Core Modules
Presentation transcript:

Calculating Residuals © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules

Calculating Residuals "Certain images and/or photos on this presentation are the copyrighted property of JupiterImages and are being used with permission under license. These images and/or photos may not be copied or downloaded without permission from JupiterImages" Statistics 1 AQA EDEXCEL OCR

Calculating Residuals Foot length and height of UK children Height (cm) Foot length (cm) Once we have found a regression line, we may need to know how close any particular observation is to the line. To do this, we find a residual. For the height and foot length data... y on x regression line To find the residual for the point we find

Calculating Residuals e.g. The marks for 10 students in Maths and Physics are as follows: ABCDEFGHIJ Maths, x Physics, y The regression line for y on x is Residual of point A = ( The residual is negative if the point is below the line.) To find y, substitute the value of x at point A into the regression line:

Calculating Residuals x SUMMARY To find the residual for a particular observation, A, calculate the y -coordinate on the regression line corresponding to the x -value at A, find The residual is negative if the point is below the line Since, the residual at A is also given by

Calculating Residuals Outliers Outliers are points that lie well away from the regression line. Since a residual measures the distance of a point from a line, residuals are used to identify outliers. Outliers can have a considerable effect on a regression line and make it unreliable.

Calculating Residuals e.g. The diagram is a scatter diagram of the data shown in the table yx If we were to draw the line “by eye”, the 1 st point... would lie well away from the line we would want to draw. However, the calculation of the regression line includes the 1 st point and distorts the position of the line.

Calculating Residuals The diagram shows the y on x regression line for all the data. The residuals are shown by the red lines yx The left-hand end of the line is further down than it would be without the 1 st point. e.g. The diagram is a scatter diagram of the data shown in the table.

Calculating Residuals xy Removing the 1 st point... e.g. The diagram is a scatter diagram of the data shown in the table.

Calculating Residuals xy e.g. The diagram is a scatter diagram of the data shown in the table. Removing the 1 st point gives

Calculating Residuals The sum of the squares of the residuals, Without the 1 st point, we have a regression line that is a much better fit. e.g. The diagram is a scatter diagram of the data shown in the table. Removing the 1 st point gives

Calculating Residuals Exercise (a) Find the equation of the regression line of y on x (b) Estimate the percentage of accidents to children in an area with 10 % open space. (c) Find the residual for A. 1. The table shows the number of accidents to children as a percentage of those to adults, y, in 9 areas of London together with the percentage of open space in those areas, x. 17·123·830·833·63738·24042·946·3 Children’s Accidents (%) 14·814·66·36·35·25·24·54·571·41·41·35Open Spaces(%) IHGFEDCBA

Calculating Residuals Solutions (a) Find the equation of the regression line of y on x (b) Estimate the percentage of accidents to children in an area with 10% open space. (c) Find the residual for A. (a) The equation of the regression line for y on x is Solution: (b) Nearly 29% of accidents will involve children. (c) At, Residual =

Calculating Residuals The following slides contain repeats of information on earlier slides, shown without colour, so that they can be printed and photocopied. For most purposes the slides can be printed as “Handouts” with up to 6 slides per sheet.

Calculating Residuals calculate the y -coordinate on the regression line corresponding to the x -value at A, x SUMMARY To find the residual for a particular observation, A, The residual is negative if the point is below the line find Since, the residual at A is also given by

Calculating Residuals e.g. The marks for 10 students in Maths and Physics are as follows: A B C D E 42 F G H I J Physics, y Maths, x The regression line for y on x is Residual of point A = ( The residual is negative if the point is below the line.) To find y, substitute the value of x at point A into the regression line:

Calculating Residuals Outliers Outliers are points that lie well away from the regression line. Since a residual measures the distance of a point from a line, residuals are used to identify outliers. Outliers can have a considerable effect on a regression line and make it unreliable.

Calculating Residuals e.g. The diagram is a scatter diagram of the data shown in the table yx If we were to draw the line “by eye”, the 1 st point... would lie well away from the line we would want to draw. However, the calculation of the regression line includes the 1 st point and distorts the position of the line.

Calculating Residuals e.g. The diagram shows the y on x regression line for the data in the table. The residuals are shown by the lines parallel to the y -axis. The sum of the squares of the residuals, Without the 1 st point, we have a regression line that is a much better fit. The 1 st point has the largest residual.