The table below represents the closing cost of ABC for the last 5 days. What is the r -value of the linear regression that fits these data?

Day Value
1 20.71
2 19.69
3 19.61
4 19.64
5 19.26

Choices are as follows
A. -0.79631
B. 0.86493
C. 0.91237
D. -0.85650

Respuesta :

Answer:

The correct option is D.

Step-by-step explanation:

The linear regression equation is in the form of

[tex]y=bx+a[/tex]

Where,

[tex]b=\frac{n(\sum xy)-(\sum x)(\sum y)}{n(\sum x^2)-(\sum x)^2}[/tex]

[tex]a=\frac{(\sum y)(\sum x^2)-(\sum x)(\sum xy)}{n(\sum x^2)-(\sum x)^2}[/tex]

The formula of r is

[tex]r=\frac{n(\sum xy)-(\sum x)(\sum y)}{\sqrt{[n(\sum x^2)-(\sum x)^2][n(\sum y^2)-(\sum y)^2]}}[/tex]

The values are

[tex]\sum x=15,\sum y=98.91,\sum x^2=55,\sum y^2=1957.8295,\sum xy=293.78, n=5[/tex]

Using above formula, we get

[tex]r=-0.85650[/tex]

Therefore option D is correct.

Ver imagen DelcieRiveria

Answer: -0.94719

Step-by-step explanation: