DATE TEST# CASE#
23-Mar-20 3672 293
24-Mar-20 3952 343
25-Mar-20 5035 561
26-Mar-20 7286 1196
27-Mar-20 7533 2069
28-Mar-20 7641 1704
29-Mar-20 9982 1815
30-Mar-20 11535 1610
31-Mar-20 15422 2704
1-Apr-20 14396 2148
2-Apr-20 18757 2456
3-Apr-20 16160 2786
4-Apr-20 19664 3013
5-Apr-20 20065 3135
6-Apr-20 21400 3148
7-Apr-20 20023 3892
8-Apr-20 24900 4117
9-Apr-20 28578 4056
10-Apr-20 30864 4747
11-Apr-20 33170 5138
For the covid19 data given, conduct a regression analysis by using
any computer software and submit your computer output.
PUT ANSWERS: (As copied from your submitted computer output)
a. CORRELATION COEFFICIENT (??,?) =0.9657
b. COEFFICIENT OF DETERMINATION =0.9325
c.
R code:
x=c(3672,3952,5035,7286,7533,7641,9982,11535,15422,14396,18757,16160,19664,20065,
21400,20023,24900,28578,30864,33170)
y=c(293,343,561,1196,2069,1704,1815,1610,2704,2148,2456,2786,3013,3135,3148,3892,
4117,4056,4747,5138)
#x=no. of TEST; y=no. of CASE
round(cor(x,y),4)#(a)
round((cor(x,y))^2,4)#(b)
m=lm(y~x)
round(m$coefficients,4)#(c)
Get Answers For Free
Most questions answered within 1 hours.