Professional Documents
Culture Documents
14
12
10
8
Y
6
4
2
0
0 2 4 6 8
X
Let’s have some fun!
Answer
10
0
1
2
3
4
5
6
7
8
9
dependent
10
0
1
2
3
4
5
6
7
8
9
Answer
moderately positive correlation
A. C. SCATTER PLOT
y
15
10
0
0 5 10 15
x
B. D.
y 150
SCATTER PLOT
100
50
x 0
0 5 10 15
Objectives
1. Identify the independent and
dependent variable.
2. Draw the best fit line on a scatter
plot.
3. Calculate the slope and y-
intercept of the regression line
Define/ Describe the ff.
Pearson r
Positive Correlation
Slope of a line
Best Fit Line
Dependent variable
best fit line
best
illustrates
regression line
- the line that “best fit” in
the scatter plot. Also known
as the trend line.
Simple rules in drawing best
fit line
*
Activity 1
Consider the following data.
a. Construct a scatter plot.
b. Draw the line of best fit.
c. Calculate the slope and the
y-intercept.
d. Write the equation of the
line of best fit.
x 5 10 20 8 15 25
y 40 26 18 30 20 15
14
12
10
8
Y
0
0 2 4 6 8
X
a b
where,
a = y-intercept of the
regression line
b = slope of the regression line
The y-intercept and the slope can be computed
using the ff. formulas
Illustrative Example 1
The grades of 7 students in the 1st & 2nd
grading periods are shown below.
1st Grading 80 78 76 84 85 75 88
Grade
2nd Grading 84 79 75 86 84 77 85
Grade
Regression equation
a b
Directions: Work cooperatively in your group then calculate
the regression equation. Write the problem & solution in
Manila paper and present your output in the class. (15 mins.)
Group 1:
Time in hours spent in 1 2 3 4 5 6
studying (x)
Scores on a Math test 8 10 20 15 25 38
(y)
Group 2:
Hours spent in playing 1 2 3 4 5 6
video games (x)
Scores on a Math test (y) 25 30 20 20 15 9
Group 3: Listed below are the heights & weights
of 5 teachers.
Heights in cm (x) 160 162 167 158 167
Weights in kg (y) 50 59 63 52 65
Group 4: The table shows the grades of Grade 11
students in English & Mathematics.
English (x) 80 89 86 85 78 92 82
Mathematics (y) 77 80 80 95 75 90 78
The table below shows the time in hours spent for
studying (x) of six grade 11 STEM students of
KCNHS and their scores on a Science test (y).
1. Determine the independent and dependent
variable.
2. Calculate the slope and y-intercept of the
regression line.
3. Find the regression equation.
50
y = -1.1357x + 84.783
Number of Kg Sold
40
30
20
10
35 40 45 50 55 60 65
Price per Kg of Tomatoes
12
Number of Gallons of Ice Cream
10
y = 0.9231x - 19.385
8
6
4
2
24 26 28 30 32
Temperature in degree Celsius
5. Predict the number of gallons of ice cream that may be sold if the
temperature is 32 degrees Celsius.
y = -19.385 + 0.923x
y = 10.15 or y = 10 gallons
y = -19.385 + 0.923(32)
Solution:
1. Calculate the slope & y-intercept of the regression line.
x y xy x^2 y^2
y-intercept slope
95
y = 1.0268x - 2.5035
90
Final Grade
85
80
75
70
75 80 85 Grade
Midterm 90 95
5. Estimate the final grade of a student who has a midterm grade of 88.
y = 1.027x – 2.504
y = 87.87 or y = 88
y = 1.027 (88) – 2.504
Find the regression
equation
x 1 2 3 4 5 6 7
y 4 3 8 6 12 10 8