You are on page 1of 12

Statistics and

Probability
Task 11
• Task 11

Subject
Matter
Task 11
Number 1
Month Revenue Expenses
• The following data shows the results of January 675 162
data collection during 2021 regarding February 723 198
company revenue (X) and company March 683 173
expenses (Y) in millions of rupiah. April 737 201
Determine the linear equation Y over X! May 595 98
June 850 312
July 817 288
August 855 297
September 725 118
October 820 143
November 733 227
December 917 200
Number 2 Test Score Presence Final Score
Student
(𝑋1 ) (𝑋2 ) (Y)
• In a Structural Analysis class, data on 1 90 13 98
final score, test score and attendance 2 72 8 76
were taken from 12 student samples.
3 68 11 82
o Determine the multiple linear regression
equation 4 73 11 84
o If a student has a test score of 85 with 11 5 59 10 68
attendance, estimate the student's final 6 85 12 95
score. 7 81 12 86
o Determine the coefficient of determination 8 85 13 93
o Determine the correlation coefficient 9 72 9 75
between test scores and student 10 82 12 88
attendance
11 73 7 75
12 91 10 90
Task 11
(Solution)
Number 1
𝑋𝑖 𝑌𝑖 𝑋𝑖 ∙ 𝑌𝑖 𝑋𝑖2
Solution:
675 162 109350 455625
2417×7039254−9130×1884142
•𝑎= ≈ −169.04 723 198 143154 522729
12×7039254−91302
12×1884142−9130×2417 683 173 118159 466489
•𝑏= ≈ 0.4869 737 201 148137 543169
12×7039254−91302
• So the linear equation Y over X is: 595 98 58310 354025
𝑌 = −169.04 + 0.4869 ∙ 𝑋 850 312 265200 722500
350
817 288 235296 667489
300 855 297 253935 731025
250 y = 0,4869x - 169,04
725 118 85550 525625
200

150 820 143 117260 672400


100
733 227 166391 537289
50
500 550 600 650 700 750 800 850 900 950 917 200 183400 840889
Number 2 (a)
i 𝑋1 𝑋2 Y 𝑋12 𝑋22 𝑋1 ∙ 𝑋2 𝑋1 ∙ 𝑌 𝑋2 ∙ 𝑌 𝑌2
The multiple linear regression 1 90 13 98 8100 169 1170 8820 1274 9604
equation 2 72 8 76 5184 64 576 5472 608 5776
12 931 128 𝑏0 1010 3 68 11 82 4624 121 748 5576 902 6724
• 931 73247 10037 𝑏1 = 79239 4 73 11 84 5329 121 803 6132 924 7056
128 10037 1406 𝑏2 10925 5 59 10 68 3481 100 590 4012 680 4624
𝑏0 11.88 6 85 12 95 7225 144 1020 8075 1140 9025
• 𝑏1 = 0.65
𝑏2 2.02 7 81 12 86 6561 144 972 6966 1032 7396
8 85 13 93 7225 169 1105 7905 1209 8649
• 𝑦 = 11.88 + 0.65𝑋1 + 2.02𝑋2 9 72 9 75 5184 81 648 5400 675 5625
10 82 12 88 6724 144 984 7216 1056 7744
11 73 7 75 5329 49 511 5475 525 5625
12 91 10 90 8281 100 910 8190 900 8100
Σ 931 128 1010 73247 1406 10037 79239 10925 85948
Number 2 (b)
A student has a test score of 85 with 11 attendance
• 𝑦 = 11.88 + 0.65𝑋1 + 2.02𝑋2
• 𝑦 = 11.88 + 0.65 85 + 2.02 11 = 89.35 ≈ 89
• So, the student's final score is 89.
Number 2 (c)
i 𝑋1 𝑋2 Y 𝑋12 𝑋22 𝑋1 ∙ 𝑋2 𝑋1 ∙ 𝑌 𝑋2 ∙ 𝑌 𝑌 2
Σ 931 128 1010 73247 1406 10037 79239 10925 85948

𝑏0 11.88
• 𝑏1 = 0.65
𝑏2 2.02
• The coefficient of determination
𝑛 ∙ 𝑏0 ∙ 𝑌 + 𝑏 ∙ 𝑌 ∙ 𝑋 + 𝑏 ∙ 𝑌 ∙ 𝑋 − 𝑌 2
1 1 2 2
𝑟2 =
𝑛 ∙ 𝑌2 − 𝑌 2
12 ∙ 11.88 ∙ 1010 + 0.65 ∙ 79239 + 2.02 ∙ 10925 − 1010 2
2
𝑟 = ≈ 0.60
12 ∙ 85948 − 10102
Number 2 (d)
i 𝑋1 𝑋2 Y 𝑋12 𝑋22 𝑋1 ∙ 𝑋2 𝑋1 ∙ 𝑌 𝑋2 ∙ 𝑌 𝑌 2
Σ 931 128 1010 73247 1406 10037 79239 10925 85948

The correlation coefficient between test scores and student attendance


12×79239−1010×931
• 𝑟𝑦∙𝑥1 = ≈ 0.90
12×85948−10102 12×73247−9312
12×10925−1010×128
• 𝑟𝑦∙𝑥2 = ≈ 0.78
12×85948−10102 12×1406−1282
12×10037−931×128
• 𝑟𝑥1 ∙𝑥2 = ≈ 0.52
12×73247−9312 12×1406−1282

You might also like