(D AY 2) O BJECTIVES Draw a scatter plot and find a prediction - - PowerPoint PPT Presentation
(D AY 2) O BJECTIVES Draw a scatter plot and find a prediction - - PowerPoint PPT Presentation
D AY 38 L INE OF B EST F IT (D AY 2) O BJECTIVES Draw a scatter plot and find a prediction equation. Solve the problem using prediction equations I NFORMATION Line of best fit does not necessarily contain any points from the data.
OBJECTIVES
Draw a scatter plot and find a prediction
equation.
Solve the problem using prediction equations
INFORMATION
Line of best fit does not necessarily contain any points
from the data.
When data is collected, the relation is determined by
the variables does not usually form a straight line. However, it may approximate a linear relationship.
When this happens, a best-fit line can be drawn, and a
prediction equation can be determined using a process similar to that used to determine an equation of a line when you know two points.
APPLICATION
Zimco Bottling Co. is promoting a
continuing education program for its
- employees. The personnel director, Ms.
Dirr would like to be able to predict an employee’s salary if she knows the number of years an employee attended
- college. From the current personnel files,
- Ms. Dirr randomly selected the files of ten
- employees. She recorded each employee’s
salary and corresponding years of college for the employee. See next slide.
EXAMPLE 1: STEP 1: GRAPH THE DATA POINTS
To determine the relationship between the number of
years of college and the salary, Ms. Dirr graphed the data points to obtain a scatter plot. She found that the points did not lie in a straight line, but clustered in linear pattern. She draws a line suggested by this pattern of points.
Years of college
3 2 4 6 2.5 7.5 7 1 5.5 4
Salary (in $1000)
15 20 22 47 19 18 32 10 30 28
STEP 2: SELECT TWO POINTS
She then selected the
points (2.5, 19), (7, 32) on that line to determine the equation of the line. To find the equation of this line, she first used the slope formula and the two points.
STEP 3: FIND THE SLOPE USING
THE TWO POINTS
9 . 2 5 . 4 13 5 . 2 7 19 32 m
Step 4: Let s represent an employee’s annual salary. Let c represent the number of years of college education. Use one of the points and the slope to find the prediction equation.
b b b b c s 7 . 11 3 . 20 32 ) 7 ( 9 . 2 32 9 . 2
y = mx+b, where s = y,m = 2.9, and c = x. Point (7, 32) is used for values of c and s. Simplify Subtract 20.3 from both sides to isolate b.
PREDICTION EQUATION
Prediction equation is
s = 2.9c + 11.7
By using her prediction equation, Ms. Dirr can
encourage the employees with little college education to go back to school. For example, she can predict that with five years of college education, their salary might be $26,200.
- EX. 2: THE TABLE BELOW SHOWS THE HEIGHTS AND THE
CORRESPONDING IDEAL WEIGHTS OF ADULT WOMEN. FIND A PREDICTION EQUATION FOR THIS RELATIONSHIP.
Step 1: Graph the data points.
Height (inches)
60 62 64 66 68 70 72
Weight (pounds)
105 111 123 130 139 149 158
- Draw a line that appears to be most
representative of the data. That’s your line
- f best fit.
STEP 2: CHOOSE TWO POINTS (62, 111) AND (66, 130) FROM THE LINE TO FIND THE SLOPE.
8 . 4 4 19 62 66 111 130 m
STEP 3: NOW USE THE SLOPE AND ONE OF THE POINTS IN
THE SLOPE-INTERCEPT FORM TO FIND THE VALUE OF B.
6 . 186 8 . 4 6 . 186 6 . 297 111 ) 62 ( 8 . 4 111 h w b b b b mx y
Slope-intercept form Substitute values into form. Multiply 4.8 by 62 to simplify. Subtract 297.6 from both sides. Prediction equation
IS IT ACCURATE?
The procedure for determining a prediction
equation is dependent upon your judgment. You decide where to draw the best-fit line. You decide which two points on the line are used to find the slope and intercept. Your prediction equation may be different from someone else’s. The prediction equation is used when a rough estimate is sufficient. For a better analysis of the data, statisticians normally use other, more precise procedures, often relying on computers and high-level programming.
- EX. 3: DRAW A SCATTERPLOT AND FIND TWO PREDICTION EQUATIONS TO
SHOW HOW TYPING SPEED AND EXPERIENCE ARE RELATED. PREDICT THE TYPING SPEED OF A STUDENT WHO HAS 11 WEEKS OF EXPERIENCE.
Step 1: Graph the data points.
Experience (weeks)
4 7 8 1 6 3 5 2 9 6 7 10
Typing Speed (wpm)
33 45 46 20 40 30 38 22 52 44 42 55
- Draw a line that appears to be most
representative of the data. That’s your line
- f best fit.
STEP 2: CHOOSE TWO POINTS (5, 36) AND (8, 49)
FROM THE LINE TO FIND THE SLOPE.
3 . 4 3 13 5 8 36 49 m
STEP 3: NOW USE THE SLOPE AND ONE OF THE POINTS IN
THE SLOPE-INTERCEPT FORM TO FIND THE VALUE OF B.
5 . 14 3 . 4 5 . 14 5 . 21 36 ) 5 ( 3 . 4 36 3 . 4 e t b b b b e t b mx y
Slope-intercept form Substitute values into form. Multiply 4.3 by 5 to simplify. Subtract 21.5 from both sides. Prediction equation Let e stand for experience, t for typing speed.
OTHER
One prediction equation is t = 4.3(e)+14.5. Another line can be suggested by using different
- points. What ends up happening is you are about