Assignment in Emath Statistics (Correlation Final 2)
Assignment in Emath Statistics (Correlation Final 2)
Hortelano
Correlation test
For finding the linear coefficient of these data, we need to first construct a table for the required values.
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.
29 8 841 64 232
33 9 1089 81 297
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