Вы находитесь на странице: 1из 5

NAME: Resty de Guzman Sotelo DATE: 3-16-20 SCORE:

PT # 4: Linear Correlation STATISTICS & PROBABILITY

Show your solution and graph. No solution is considered wrong. 40 points

x y xy x2 y2
27 11 297 729 121
32 2 64 1024 4
50 5 250 2500 25
24 9 216 576 81
53 7 371 2809 49
10 2 20 100 4
16 4 64 256 16
15 10 150 225 100
∑ x =227 ∑ y=50 ∑ xy =1 , 432 ∑ x 2=¿ 8 ,219 ¿ ∑ y2 =400
a=¿ 6.038529 b=¿ 0.007453 y=6.05; 6.11 ; 6.19 n=8

∑ x∑ y y=bx+ a
∑ xy− n If x=1;
b= 2 a=
∑ y −b ∑ x x=10 ;
(∑ x ) n n x=20
∑ x 2− n
( 227 )( 50 ) if x=1
1 , 432− y=bx+ a
8 50 227
b= a= −( 0.007453 ) y=(0.007453)(1)+(6.038529)
( 227 )2 8 8
y=6.04597
8 , 219−
8
if x=10
y=bx+ a
1 , 432−1 , 418.75
b= a=6.038521 y=(0.007453)(10)+(6.038529)
8 ,219−6 , 441.125
y=6.1130 5

if x=20
13.25 y=bx+ a
b=
1777.875 y=(0.007453)(20)+(6.038529)
y=6.18758
b=0.007453
6.25

6.2

6.15

6.1

6.05

5.95
0 5 10 15 20 25

Graph: Direct Linear Relationship

NAME: Resty de Guzman Sotelo DATE: 3-16-20 SCORE:


PT # 4: Linear Correlation and Regression Analysis STATISTICS & PROBABILITY

Show your solution and graph. No solution is considered wrong. 50 points


The table below are the scores of the students of Grade 11 in Mathematics and in English.
Use 5% level of significance for correlation coefficient r.
1. Construct a Scatter Diagram
2. Solve for correlation coefficient r
3. Determine the Regression Line Equation
4. Graph the Regression Line Equation where x=2∧x=−4

x y xy x2 y2 (x , y)
27 21 567 729 441 (27,21)
32 20 640 1024 400 (32,20)
50 26 1300 2500 676 (50,26)
24 30 720 576 900 (24,30)
53 35 1855 2809 1225 (53,35)
10 32 320 100 1024 (10,32)
16 36 576 256 1296 (16,36)
15 42 630 225 1764 (15,42)
25 43 1075 625 1849 (25,43)
23 48 1104 529 2304 (23,48)
20 21 420 400 441 (20,21)
21 20 420 441 400 (21,20)
18 16 288 324 256 (18,16)
14 15 210 196 225 (14,15)
∑ x =¿348 ¿ ∑ y=¿ 405 ¿ ∑ xy =10 ,125 ∑ x 2=¿ 10 , 734 ¿ ∑ y2 =13 ,201
y=28.29; 28.1 3 a=28.238379 b=0.027766 n=14

A. Correlation Coefficient:
60

50

40

30

20

10

0
0 10 20 30 40 50 60

Hypothesis: Level of Significance: Degrees of Freedom & Critical Value:


H o :r=0 There is no correlation α =5 %∨0.05 df =n−2 t tabulated =±2.179
H1: r ≠ 0 There is a correlation df =14−2
df =12

n ∑ xy−∑ x ∑ y r √n−2
r= t computed =
2
√ ( n ∑ x − ( ∑ x ) ) × ( n ∑ y −( y ) )
2 2 2
√ 1−r 2
(14 ) ( 10 ,734 )−(348)( 405) (0.033) √14−2
r= t computed =
√ ((14)(10,734)−( 348 ) ) × ((14 )(13 ,201)−( 405 ) )
2 2
√ 1−(0.033)2
(141 , 750)−(140 , 940) ( 0.033) √ 12
r= t computed =
√ ((150 ,276)−(121 ,104 )) × ((184 ,814)−(164 ,025) ) √ 1−0.001089
810 ( 0.033) √ 12
r= t computed =
√ ( 29 , 172 ) × (20 , 789 ) √ 1−0.001089
810 (0.033)(3.464102)
r= t computed =
√ 606456708 0.999455
810 0.114315
r= t computed =
24626.34175 0.999455
r =0.032892 t computed =0.114378
r =0.03=± 0.01 ¿ ±0.20 ∴ Very low correlation ; almost negligible
relationship between the scores of grade 11∈Mathematics∧Science

Accept the null hypothesis because the t computed =0.114378 is in the area of acceptance therefore there is no
correlation between the scores of grade 11 in Mathematics and Science

B.) Linear Regression

∑ x∑ y
∑ xy− n
b= 2 a=
∑ y −b ∑ x y=bx+ a
(∑ x ) n n If x=2∧¿ x=−4 ;
∑ x 2− n
( 348 ) ( 405 ) if x=2
10 , 125− y=bx+ a
14 405 348
b= a= −( 0.027766 ) y=(28.238379)(2)+(0.027766)
( 348 )2 14 14
y=28.29391
10 , 734−
14
if x=−4
y=bx+ a
10 ,125−10 , 067.14
b= a=28.238379 y=(28.238379)(−4 )+(0.027766)
10 , 734−8 , 650.286
y=28.12732
57.85714
b=
2083.714

b=0.0 27766

28.35

28.3

28.25

28.2

28.15

28.1

28.05

28
-5 -4 -3 -2 -1 0 1 2 3

Вам также может понравиться