You are on page 1of 7

Social Media Usage (x) RA (y) xy x2

1 8 175 1400 64
2 8 130 1040 64 0.6026001539 > 0.576
3 6 90 540 36 Computed > Critical
4 10 200 2000 100 SIGNIFICANT
5 9 120 1080 81
6 11 185 2035 121
7 7 140 980 49
8 11 150 1650 121
9 12 145 1740 144
10 7 135 945 49
11 5 80 400 25
12 9 90 810 81
103 1640 14620 935

y = a + b(x) Regression equation


Regression is use to predict

a = (sum y)(sum x2) - (sum x) (sum xy) / n(sum x2) - (sum x)2 b = n(sumxy) - (sum x)(sum y) / n(sum x2) - (s

a = (1640)(935) - (103)(14620) / 12(935) - (103)^2 b = 12(14620) - (103)(1640) / 12(935) - (103)^


a = 1533400 - 1505860 / 11220 - 10609 b = 175440 - 168920 / 611
a = 27540/611 b = 6520/611
a = 45.07 b = 10.67

y = a + bx
y = 45.07 + 10.67(x) Regression equation
What must be the reading ability of the student if he/she spent 15 hours in social media?
y = 45.07 + 10.67(15)
y = 45.07 + 160.05
y = 205.12

https://users.sussex.ac.uk/~grahamh/RM1web/Pearsonstable.pdf LINK FOR CRITICAL VALUE FOR PEARSON r

Exercises.
Test whether there is a significant relationship between the variables. If relationship exists, determine the regression equation.

1.) Number of trainings Teaching


attended Performance xy x2
1 1 1.1 1.1 1 0.8029590506 > 0.576
2 2 2.8 5.6 4 Computed > Critical
3 3 3 9 9 SIGNIFICANT
4 5 4.55 22.75 25
5 6 4.89 29.34 36
6 7 4 28 49
7 11 4.76 52.36 121
8 2 1.25 2.5 4
9 9 4 36 81
10 3 2.28 6.84 9
11 8 3.89 31.12 64
12 4 2.27 9.08 16
61 38.79 233.69 419

a= (38.79)(419) - (61)(233.69) / 12(419) - (61)^2 b= 12(233.69)-(61)(38.79) / 12 (419) - (61)^2


a= 16253.01-14255.09 / 5028 - 3721 b= 2804.28 - 2366.19 / 5028 - 3271
a= 1997.92 / 1307 b= 438.09 / 1307
a= 1.52863045 b= 0.33518745
a= 1.53 b= 0.34

y= a + bx
y= 1.53 + 0.34 (x) Regression Equation
What is the teaching performance of the teacher if she/has attended 15 trainings?
y= 1.53 + 0.34 (15)
y= 1.53 + 5.1
y= 6.63

2.) Scores in English Scores in Math xy x2


1 22 29 638 484
2 23 22 506 529 0.950696 > 0.532
3 33 36 1188 1089 Computed > Critical
4 35 30 1050 1225 SIGNIFICANT
5 37 32 1184 1369
6 45 44 1980 2025
7 12 13 156 144
8 18 20 360 324
9 15 14 210 225
10 34 33 1122 1156
11 26 29 754 676
12 29 28 812 841
13 45 42 1890 2025
14 24 25 600 576
398 397 12450 12688

a= (397)(12688) - (398)(12450) / 14 (12688) - (398)^2 b= 14 (12450) - (398)(397) / 14 (12688)- (398)^2


a= 5037136 - 4955100 / 177632 - 158404 b= 174300 - 158006 / 177632 - 158404
a= 82036 / 19228 b= 16294 / 19228
a= 4.26648637 b= 084741003
a= 4.27 b= 0.85
y= a + bx
y= 4.27 + 0.85 (x) Regression Equation
What must be the score in Mathematics if a student scores 50 in English?
y = 4.27 + 0.85 (50)
y= 4.27 + 42.5
y= 46.77
mxy) - (sum x)(sum y) / n(sum x2) - (sumx)2

620) - (103)(1640) / 12(935) - (103)^2


40 - 168920 / 611

pent 15 hours in social media?


8.79) / 12 (419) - (61)^2
9 / 5028 - 3271
d 15 trainings?

(12688)- (398)^2

You might also like