0% found this document useful (0 votes)
20 views

Assignment in Emath Statistics (Correlation Final 2)

The document analyzes the correlation between two sets of variables: 1) Age and glucose level, which are found to have a weak positive correlation of 0.5298. 2) Humidity and moisture content, which are found to have a strong positive correlation of 0.9201. The correlation coefficient is calculated using a formula and tables of the raw data values for each set of variables.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Assignment in Emath Statistics (Correlation Final 2)

The document analyzes the correlation between two sets of variables: 1) Age and glucose level, which are found to have a weak positive correlation of 0.5298. 2) Humidity and moisture content, which are found to have a strong positive correlation of 0.9201. The correlation coefficient is calculated using a formula and tables of the raw data values for each set of variables.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Name: John Dee S.

Hortelano
Correlation test

Determine the linear correlation coefficient.

Part 1: Given variables are: age x = 43, 21, 25,42,57,59


Glucose level Y = 99, 65, 79,75,87,81
N=6
TABLE:

For finding the linear coefficient of these data, we need to first construct a table for the required values.

Age x Glucose level Y X^2 Y^2 XY

43 99 1849 9801 4257

21 65 441 4225 1365

25 79 625 6241 1975

42 75 1764 5625 3150

57 87 3249 7569 4959

59 81 3481 6561 4779

𝚺𝐱 = 𝟐𝟒𝟕 𝚺𝐲 = 𝟒𝟖𝟔 𝚺𝒙𝟐 = 𝟏𝟏𝟒𝟎𝟗 𝚺𝒚𝟐 = 𝟒𝟎𝟎𝟐𝟐 𝚺𝒙𝒚 = 𝟐𝟎𝟒𝟖𝟓

Formula:

n(Σxy)−(Σ𝑥 )(Σ𝑦)
r=
√[𝑛Σ𝑥 2 −(Σ𝑥)2 ][(𝑛Σy2 −(Σ𝑦)2 ]
Solution:
6(20485)−(247)(486)
r=
√[6(11409−(247)2 ][(6(40022)−(486)2 ]

(122910)−(120042)
r=
√[68454−(61009)][(240132)−(236196)]

2868
r=
√[7445][3936]

2868
r=
√29303520

2868
r=
5413.27
r= 0.5298 weak positive correlation

CONCLUSION:
Given that the coefficient correlation is 0.5298 signifies that the x
variable of age have a weak positive correlation to the y variable or glucose
level is directly proportional .
Part 2 :
Given variables are: humidity x = 46,53,37,42,34,29,60,44,41,48,33,40
Moisture constant Y = 12,14,11,13,10,8,17,12,10,15,9,13
N = 12

TABLE:
For finding the linear coefficient of these data, we need to first construct a table for the required values.

humidity X Moisture Y X^2 Y^2 XY


46 12 2116 144 552
53 14 2809 196 742
37 11 1369 121 407

42 13 1764 169 546

34 10 1156 100 340

29 8 841 64 232

60 17 3600 289 1020

44 12 1936 144 528

41 10 1681 100 410

48 15 2304 225 720

33 9 1089 81 297

40 13 1600 169 520


𝚺𝐱 = 𝟓𝟎𝟕 𝚺𝐲 = 𝟏𝟒𝟒 𝚺𝒙𝟐 = 𝟐𝟐𝟔𝟐𝟓 𝚺𝒚𝟐 = 𝟏𝟖𝟎𝟐 𝚺𝒙𝒚 = 𝟔𝟑𝟏𝟒

Formula:
n(Σxy)−(Σ𝑥 )(Σ𝑦)
r=
√[𝑛(Σ𝑥 2 )−(Σ𝑥)2 ][(𝑛Σy2 −(Σ𝑦)2 ]
Solution:
12(6314)−(507)(144)
r=
√[12(22265)−(507)2 ][(12(1802)−(144)2 ]

75768−73008
r=
√[267180−257049][21624−20736]

2760
r=
√[10131][888]

2760
r=
√8996328

2760
r=
2999.38793756326
r= 0.9201 or 0.92 strong positive Correlation

CONCLUSION & Analysis:


Therefore the linear coefficient correlation is 0.92, in which signifies that the
humidity (x) has a strong positive correlation to the moisture content (y), and it
is directly proportional.

You might also like