R programming: it is the whole question. no more data
Considering x=Age and y=MaxHR
Given
,x_bar=54.44,
=x_bar*303
=16495.32
Var(x) =81.697
81.697=
=> 81.697 =
=>
y_bar=149.6
, y_bar*303
=149.6*303= 45328.8
Similarly var(Y)=523.2658 =
=> 523.2658 =
= 6939738.02
a)Sxx =
Syy =
Sxy=
SST =
b)Cov(x,y) =
c)Correlation coefficient,r=
d)Equation is y=b0+b1*x
b1 = Sxy/Sxx = -24517.9/26073.32 = -0.94 and b0 =y_bar-b1*x_bar =149.6-(-0.94)*54.44 =200.77
Equation is y= 200.77-0.94*x
When age =60,MaxHR =200.77-0.94*60 = 144.35
R programming: it is the whole question. no more data Problem Five: Below are some statistical...