Stats and Probability
Stats and Probability
LOOKING BACK
Before you proceed to this lesson, try to answer the questions below to assess
what you learned from the previous one.
A. Compute and interpret r given the following data:
Let us try this. Identify the independent variable and dependent variable.
Example 1. You are doing chores to earn your allowance. For each chore you do, you
earn Php150.
Answer:
Independent Variable (x) – the number of chores you do because this is the
variable you have control with.
Dependent Variable (y) – the amount of money you earn because the amount of
money you earn depends on how many chores you do.
Tip: If you have trouble figuring out which of your variables is the independent one and
which is the dependent one, try inserting the variables into the following sentence:
“(Independent Variable) causes a change in (Dependent Variable) and it is not possible
that (Dependent Variable) could change in (Independent Variable)
Activity 1.1
Given the statement identify the independent and dependent variable
1. A study finds that reading levels are affected by whether a person is born in a
foreign country.
2. You are studying how tutoring affects NAT score.
The best interpretation of slope of the line is the line of best fit, it shows that
even though all the points are different, they are all in the same area and they
are increasing.
● The y-intercept is the value on the y-axis where the line crosses. For example, in
the equation y=5x – 6, the line crosses the y-axis at the value b= –6. The
coordinates of this point are (0, –6); when a line crosses the y-axis, the x-value is
always 0.
Always calculate the slope before the y-intercept. The formula for the y-
intercept contains the slope!
Steps Solution
1. Identify the dependent and In this case X is number of absences and Y
independent variables is the number of quizzes that the student
missed.
2. Compute r X Y X2 Y2 XY
𝑛 ∑ 𝑋𝑌 − ∑ 𝑋 ∙ ∑ 𝑌 1 0 1 0 0
𝑟=
√[𝑛 ∑ 𝑋 2 − (∑ 𝑋)2 ][𝑛 ∑ 𝑌 2 − (∑ 𝑌)2 ] 1 1 1 1 1
1 1 1 1 1
6 5 36 25 30
3 2 9 4 6
3 3 9 9 9
5 4 25 16 20
4 3 16 9 12
4 4 16 16 16
1 1 1 1 1
2 2
∑𝑋 ∑𝑌 ∑𝑋 = ∑𝑌 =82 ∑𝑋𝑌=96
= 29 = 24 115
𝑛 ∑ 𝑋𝑌−∑ 𝑋∙∑ 𝑌
𝑟=
√[𝑛 ∑ 𝑋 2 −(∑ 𝑋)2 ][𝑛 ∑ 𝑌 2 −(∑ 𝑌)2 ]
10(96)−29(24)
𝑟=
√[10(115)−(29)2 ][10(82)−(24)2 ]
𝒓 = 𝟎. 𝟗𝟔
𝒕 = 𝟗. 𝟔𝟗𝟔
𝒃 = 𝟎. 𝟖𝟓
8. Form the regression equation. 𝑌 ′ = 0.85𝑋 − 0.08
9. Predict the number of quizzes 𝑌 ′ = 0.85𝑋 − 0.08
that a student will miss if 𝑌 ′ = 0.85(8) − 0.08
he/she is absent for 8 days 𝑌 ′ = 6.72 𝑜𝑟 7
Slope=0.85, y-intercept = -0.08
Note: To make it easier you may use the Microsoft Excel or a Scientific Calculator in
finding the regression equation or you can view videos to understand better by using
the following links below.
MATHPORTAL- Math Calculators Lessons and Formulas
https://www.mathportal.org/calculators/statistics-calculator/probability-
distributions-calculator.php
Stephanie Glen. "Linear Regression: Simple Steps, Video. Find Equation, Coefficient,
Slope" From StatisticsHowTo.com: Elementary Statistics for the rest of
us! https://www.statisticshowto.com/probability-and-statistics/regression-
analysis/find-a-linear-regression-equation/
Steps Solution
1. Identify the dependent and
independent variables
2. Compute r X Y X2 Y2 XY
𝑛 ∑ 𝑋𝑌 − ∑ 𝑋 ∙ ∑ 𝑌 5 10
𝑟=
√[𝑛 ∑ 𝑋 2 − (∑ 𝑋)2 ][𝑛 ∑ 𝑌 2 − (∑ 𝑌)2 ] 6 11
7 12
7.5 14
6.5 13
5.5 11
4.8 15
6.3 16
7.8 15
8 10
∑𝑋 = ∑𝑌 = ∑𝑋 2 ∑𝑌 2 ∑𝑋𝑌=
= =
𝑛 ∑ 𝑋𝑌 − ∑ 𝑋 ∙ ∑ 𝑌
𝑟=
√[𝑛 ∑ 𝑋 2 − (∑ 𝑋)2 ][𝑛 ∑ 𝑌 2 − (∑ 𝑌)2 ]
r=
3. Test the significance of r using n= , r=
𝑛−2 𝑛−2
𝑡 = 𝑟√ 𝑡 = 𝑟√
1 − 𝑟2 1 − 𝑟2
REMEMBER
POST TEST
Multiple Choice. Choose the letter of the best answer. Write the chosen letter on a
separate sheet of paper.
For numbers 1-2, use the situation below:
A student conducted a regression analysis between the math grades of his
classmates and the number of times they were absent in the subject. He found that the
regression line that will predict the grade (y) if the number of absences (x) is known
𝑌 = −2.61𝑋 + 97.73
1. What is the predicted grade of a student who has no absences?
A. 93 B. 98 C. 97 D. 95
2. Which of the following shows the graph of the line predictor?
References
Statistics and Probability by Rene R. Belecina, Elisa S. Baccay and Efren B. Mateo
High School Statistics by Francis Joseph H. Campe𝑛𝑎 ̃
https://www.mathportal.org/calculators/statistics-calculator/probability-
distributions-calculator.php
Stephanie Glen. "Linear Regression: Simple Steps, Video. Find Equation,
Coefficient, Slope" From StatisticsHowTo.com: Elementary Statistics for the
rest of us! https://www.statisticshowto.com/probability-and-
statistics/regression-analysis/find-a-linear-regression-equation/