Transcript Slide 1

2.6 Scatter Plots & Prediction
Algebra II
Mrs. Aguirre
Fall 2014
Objectives
• Draw a scatter plot and find a prediction
equation.
• Solve 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.
The Wave
Use the table to collect the “wave” data of the class.
# of students
Time
• Graph the data on graph paper (in your
composition folder). Be sure to title and
label the graph as well.
• Does the data make a perfect line? Why
or why not?
• Is there a linear or non-linear trend to the
data? How can you tell?
• Draw a line you feel describes the general
trend of the data. Explain why you drew
the line the way you did.
• Find two points on your trend line and find
the equation of the line. Identify the slope.
Vocabulary
• Scatter Plot – a graph of a set of data
points.
• Positive Correlation – If y tends to
increase as x increases
• Negative Correlation – If y tends to
decrease as x increase.
• Correlation coefficient – denoted by r, a
number from -1 to 1 that measures how
well a line fits a set of data points
• Line of best fit – the line that lies as close
as possible toa ll the data pionts.
Examples
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 year 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 draw 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
10
30
18
32
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
32  19 13
m

 2.9
7  2.5 4.5
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.
s  2.9c  b
32  2.9(7)  b
32  20.3  b
Point (7, 32) is used for values of c and s.
11.7  b
Subtract 20.3 from both sides to isolate b.
y = mx+b, where s = y,m = 2.9, and c = x.
Simplify
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
of best fit.
Step 2: Choose two points (62, 111) and (66, 130) from
the line to find the slope.
130  111 19
m

 4. 8
66  62
4
Step 3: Now use the slope and one of the points in the
slope-intercept form to find the value of b.
y  m x b
111 4.8(62)  b
111 297.6  b
 186.6  b
w  4.8h  186.6
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 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
Typing Speed (wpm)
33
45
46
20 40 30 38 22 52 44 42 55
6
3
5
2
9
6
7
• Draw a line that appears to be most
representative of the data. That’s your line
of best fit.
10
Step 2: Choose two points (5, 36) and (8, 49) from the line
to find the slope.
49  36 13
m
  4. 3
85
3
Step 3: Now use the slope and one of the points in the
slope-intercept form to find the value of b.
y  m x b
Slope-intercept form
t  4.3e  b
Let e stand for experience, t for typing speed.
36  4.3(5)  b
Substitute values into form.
36  21.5  b
Multiply 4.3 by 5 to simplify.
14.5  b
t  4.3e  14.5
Subtract 21.5 from both sides.
Prediction equation
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 1/10 off, so either
prediction equation would produce a good
estimate.