Professional Documents
Culture Documents
Probability
Quarter 4 Module 21
Calculating the Slope and
Y-Intercept of a Regression Line
Statistics and Probability Grade 11
Alternative Delivery Mode
Quarter 4 Module 21: Calculating the Slope and Y-Intercept of a Regression Line
First Edition, 2020
Republic Act 8293, Section 176 states that: No copyright shall subsist in any work
of the Government of the Philippines. However, prior approval of the government agency or
office wherein the work is created shall be necessary for exploitation of such work for profit.
Such agency or office may, among other things, impose as a condition the payment of
royalties.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this module are owned by their respective copyright holders.
Every effort has been exerted to locate and seek permission to use these materials from
their respective copyright owners. The publisher and authors do not represent nor claim
ownership over them.
Published by the Department of Education
Secretary: Leonor Magtolis Briones
Undersecretary: Diosdado M. San Antonio
Development Team of the Module
Welcome to the Statistics and Probability for Senior High School Alternative
Delivery Mode (ADM) Module on Calculating the Slope and Y-Intercept of a
Regression Line!
This module was collaboratively designed, developed, and reviewed by educators
both from public and private institutions to assist you, the teacher or the
facilitator, in helping the learners meet the standards set by the K to 12
Curriculum while overcoming their personal, social, and economic constraints in
schooling.
This learning resource hopes to engage the learners into guided and independent
learning activities at their own pace and time. Furthermore, this also aims to help
learners acquire the needed 21st century skills while taking into consideration
their needs and circumstances.
In addition to the material in the main text, you will also see this box in the body of
the module:
As a facilitator, you are expected to orient the learners on how to use this module.
You also need to keep track of the learners' progress while allowing them to
manage their own learning. Furthermore, you are expected to encourage and assist
the learners as they do the tasks included in the module.
ii
For the learner:
Welcome to the Statistics and Probability for Senior High School Alternative
Delivery Mode (ADM) Module on Calculating the Slope and Y-Intercept of a
Regression Line!
The hand is one of the most symbolical parts of the human body. It is often used to
depict skill, action, and purpose. Through our hands, we may learn, create, and
accomplish. Hence, the hand in this learning resource signifies that as a learner,
you are capable and empowered to successfully achieve the relevant competencies
and skills at your own pace and time. Your academic success lies in your own
hands!
This module was designed to provide you with fun and meaningful opportunities
for guided and independent learning at your own pace and time. You will be
enabled to process the contents of the learning resource while being an active
learner.
What I Need to Know This will give you an idea of the skills or
competencies you are expected to learn in
the module.
iii
What I Can Do This section provides an activity which will
help you transfer your new knowledge or
skill into real life situations or concerns.
1. Use the module with care. Do not put unnecessary mark/s on any part of
the module. Use a separate sheet of paper in answering the exercises.
2. What I Know before moving on to the other activities
included in the module.
3. Read the instruction carefully before doing each task.
4. Observe honesty and integrity in doing the tasks and checking your
answers.
5. Finish the task at hand before proceeding to the next.
6. Return this module to your teacher/facilitator once you are through with it.
If you encounter any difficulty in answering the tasks in this module, do not
hesitate to consult your teacher or facilitator. Always bear in mind that you are
not alone.
We hope that through this material, you will experience meaningful learning
and gain deep understanding of the relevant competencies. You can do it!
iv
What I Need to Know
This module will introduce you to concepts about regression analysis and
the regression line. Also, you will master calculating the slope and y-intercept of
the regression line as well as using the computed values to create a regression
equation. Later, you will interpret the calculated slope and y-intercept of the
regression line.
Before you proceed to the lesson, make sure to answer first the questions in
the next page (What I Know).
1
What I Know
1. Which straight line is used to predict the value of y (dependent variable) for
a given value of x (independent variable)?
A. approximation point C. regression form
B. approximation line D. regression line
3. What indicates the location where the regression line intersects the y-axis?
A. domain C. slope
B. range D. y-intercept
2
9. What is the slope in the regression equation: ?
A. 7 C. 2
B. 2 D. 7
10. What is the slope (b) and y-intercept (a) in the equation: ?
A. b = ;a= C. b = ;a=
B. b = ;a= D. b = ; a =
x 1 2 3 4 5 6 7
y 4 5 1 6 7 10 7
13. What is the slope (b) of the regression equation based on the data above?
A. 0.89 C. 1.98
B. 1.37 D. 2.14
14. What is the y-intercept (a) of the regression equation based on the given
data set?
A. 0.89 C. 1.98
B. 1.37 D. 2.14
15. What is the equation of the regression line based on the given data?
A. C.
B. D.
3
Lesson
Slope and Y-Intercept of a
1 Regression Line
One important application of statistics is that it allows us to predict one
variable from other variables. For example, you might want to predict the amount
of income from the number of years spent studying. This can be done through
regression analysis. Regression analysis mathematically describes the relationship
between independent variables and a dependent variable.
In this module, you will start to explore and learn about regression analysis.
First, you need to recall important terms related to regression analysis by
answering the next activity.
Jumbled Letters
Directions: Based on the given definition, rearrange the letters to form the correct
word. Write your answers on a separate sheet of paper.
1. L S P O E
Shows the steepness of a line and represents the rate of change in
y as x changes
2. R E E I T T N P C
A point where the line crosses or intersects the horizontal or vertical axis
3. N E R A L I
A type of regression that finds the best-fit line to represent a bivariate
data set
4. A N D M I O
The x-values which represent the independent variable
5. Q A E N O I T U
The algebraic expression of a regression line
4
Since you recalled these important words, you are now ready to learn about
regression analysis.
Now, you will learn how to calculate the slope and y-intercept of the
regression line. Start your progress by answering the next activity.
Directions: Read the given situation, follow the instructions, and fill in the missing
values. Then, answer the guide questions that follow.
Number of General
A teacher believes that excellence is a Absences (x) Average (y)
fruit of hard work and persistence. 1 1 98
she wants to prove if the 2 2 90
3 3 86
related to their general average. On 4 5 87
her gathered data, the recorded 5 7 85
number of absences and general 6 9 85
average in the recent semester are 7 10 78
shown on the table.
Step 1. Using the given data as points, find the slope using algebraic
method.
Use the points (1, 98) and (10, 78). Use the points (1, 98) and (5, 87).
5
Step 2. Find the y-intercept using the slope , the point (1, 98), and the
slope-intercept form of a line .
Step 3. Write the equation of the line. Substitute the value of and the
value of in . Round to the nearest integer.
Guide Questions:
1. Compare the slope solved using the points (1, 98) and (10, 78) with the slope
solved using (1, 98) and (5, 87). Are the two slopes equal?
2. Compare the y-intercept solved using the points (1, 98) and (10, 78) with the y-
intercept solved using the points (1, 98) and (5, 87). Are the computed y-
intercepts equal?
4. Do you think the teacher can describe the relationship of the given variables
using the two equations he just computed? Why?
6
What Is It
In the previous activity, unequal slopes and y-intercepts are solved because
two different pairs of points are used. Since the slopes and y-intercepts are
unequal, two different equations are obtained using the algebraic method.
Whenever there are more than two points of data, it is usually impossible to
find one line that passes through all points. However, a best-fit line that is a good
approximation of the data can usually be found. This best-fit straight line used to
predict the value of y for a given value of x is called the regression line.
For statistics, there is a simpler way to find the equation of the best-fit line.
The equation of the best-fit line is also called equation of the regression line or
simply regression equation.
Examples:
a. = 2; = 3; The slope is 2 and y-intercept is 3.
b. 1 ; ; The slope is and y-intercept is -1.
As shown in the activity, the slope and y-intercept can be easily determined
from the equation of a regression line.
In real life, however, students need to calculate the slope and y-intercept
from the raw data. The y-intercept and slope can be solved using the step-by-step
solution and formulas for finding the slope and y-intercept.
The steps in calculating the slope and y-intercept from a given set of data
are the following:
Step 1: Make a data table with four columns (x, y, xy, and x2). Note the sample size,
n.
Step 2: List the data for x and y. Multiply x and y to get xy. Square x to get x2.
Complete the table.
Step 3: Find the sum of x, y, xy, and x2 by adding the values in each column.
7
The slope (b) can be calculated using the following formula:
Let us solve the given situation in the previous activity (Step Yes, Step Do!) using
these steps.
By doing Steps 1 and 2, you will make this four-column data table.
Number of General
xy x2
Absences (x) Average (y)
1 1 98 98 1
2 2 90 180 4
3 3 86 258 9
4 5 87 435 25
5 7 85 595 49
6 9 85 765 81
7 10 78 780 100
37 609 3111 = 269
From the table of data, you will be able to determine the sum of x, y, xy, and
x2. These are the values that will be substituted into the formula to calculate the
slope and y-intercept.
7
8
This is the y-intercept.
From the previous activity (Step Yes, Step Do!), we obtained two equations of
the line by using two different pairs of points. Using those steps, you will be able to
determine the slope and y-intercept. Also, you will find the equation of the best-fit
line.
Best-Fit Line
9
Activity 1.2 Then, Follow Me!
Directions: Study and follow the steps. Then, apply those steps in the next
activity.
x y xy x2
1 4 4 1
2 3 6 4
3 8 24 9
4 6 24 16
5 12 60 25
6 10 60 36
7 8 56 49
_______ _________ ______ = _______
Find the slope, y-intercept, and regression equation for the given data.
From the given table, list the values that must be substituted into the
formula on a separate sheet of paper.
____
10
Activity 1.3 Connect and Complete
Directions: Copy the given table on a sheet of paper. Complete the missing tabular
values to calculate the slope and y-intercept. Then, solve for the slope
and y-intercept using the given formulas below.
x y xy x2
1 98 1 1
2 90 180
3 86
5 87 435 25
7 85 595
9 85 81
10 80
Solve for the slope and y-intercept. Show your complete solutions.
x y xy x2
5 40
12 28
20 17
8 32
15 24
25 1
Solve for the slope and y-intercept. Then, find the equation of the regression
line. Show your complete solutions.
11
Assessment
x 1 2 3 4 5 6 7
y 2 6 4 8 12 10 12
14
8. What is the of the given data table?
A. 24 C. 28
B. 26 D. 30
12. What is the slope (b) of the regression equation based on the data table?
A. 0.83 C. 1.07
B. 0.93 D. 1.64
13. What is the y-intercept (a) of the regression equation based on the given
data set?
A. 0.83 C. 1.14
B. 0.93 D. 1.67
14. What is the equation of the regression line based on the given data?
A. C.
B. D.
15. Which of among the choices is the equation of a regression line based on
the data table below?
x 2 4 6 8 10 12 14
y 20 15 12.5 11.8 7.5 4 2
A. C.
B. D.
15
References
Books
Albacea, Zita VJ., Mark John V. Ayaay, Isidoro P. David, and Imelda E. De Mesa.
Teaching Guide for Senior High School: Statistics and Probability. Quezon City:
Commision on Higher Education, 2016.
Online Resources
2020. https://statisticsbyjim.com/regression/choosing-regression-analysis/
https://quizizz.com/admin/quiz/5acae751c4daf70019c2369f/linear-
regression.
20
For inquiries or feedback, please write or call:
21