Module 10_MS102
Module 10_MS102
Example :
A study is interested on the numerical grade of BS IT students in MS 101 a.k.a.
Discrete Mathematics and MS 102 a.k.a. Quantitative Methods. There are claims that the
grade in MS 101 of students is related to the students’ grade in MS 102. If we want to
predict the dependent variable (say, numerical grade in MS 102) from their numerical
grade in MS 101 (independent variable), the common method is to fit a particular model.
Two Main Objectives
𝑦 = 𝛽0 + 𝛽1 𝑥
𝑦 = 4 + 2𝑥
𝜷𝟏
𝜷𝟎
What happens if we change the intercept?
𝑦 = 𝛽0 + 𝛽1 𝑥
𝑦 = 4 + 2𝑥
𝑦 = 9 + 2𝑥
𝑦 = −2 + 2𝑥
Note :
If we increase the y-intercept:
The line shifts upward on the graph,
moving further away from the origin while
remaining parallel to the original line.
𝑦 = 𝛽0 + 𝛽1 𝑥
𝑦 = 4 + 2𝑥
𝑦 = 4 + 5𝑥
𝑦 = 4 + 0𝑥
𝑦 = 4 − 3𝑥
The slope of a linear graph 𝛽1 determines the steepness and direction of the line. Changing the slope
has the following effects:
1. Steepness (Inclination)
•Increase in the slope (𝛽1 ): The line becomes steeper, rising more rapidly as 𝑥 increases.
•Decrease in the slope (𝛽1 ): The line becomes less steep, rising more gradually as 𝑥 increases.
𝑦 = 4 + 2𝑥
True Values
The regression line shows how changes in the independent variable (𝑥) are associated with
changes in the dependent variable (𝑦).
The regression line helps to identify and quantify the relationship between two variables (e.g., whether there is a
positive, negative, or no correlation between them).
Example : Test scores of nine (9) students in Trigonometry and Geometry are given
below
a. Draw a scatter plot. If the scatter plot does not show any (linear) trend stop analysis, conclude “no
relationship”. Otherwise proceed to step number 2.
The scatter plot indicates an upward linear trend between the Trigonometry grade and Geometry grade .
Thus, “there is a reason to believe that they are related.”
Formulate the regression line equation by
2. Find the regression line equation
solving first the value of the variables 𝑏1 and 𝑏0 .
𝑁 σ 𝑥𝑦 − σ 𝑥 σ 𝑦
Work on the worksheet table. 𝑏1 =
𝑁 σ 𝑥2 − σ 𝑥 2
𝑦 = −5.82 + 1.12 𝑥
𝑦 = −5.82 + 1.12 57
𝒚 = 𝟓𝟖. 𝟎𝟐
The Grade of Students who took MS101 and MS102 from the previous Academic Year
Student No. 1 2 3 4 5 6 7 8 9 10
MS 101 Grade 78 81 93 91 76 82 75 88 84 78
MS 102 Grade 80 82 94 93 79 83 75 90 86 79