IDNLearn.com provides a comprehensive solution for all your question and answer needs. Ask your questions and receive detailed and reliable answers from our experienced and knowledgeable community members.

ok i have a chart that i have to right the line of best fit for and I don't know how to do that please help

Sagot :

You are looking for a line of the form

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

such that a,B minimize the distance between the given points and the line.

For that

[tex]B=\frac{\sum ^n_{k=1}(x_ky_k-\bar{y}x_k)}{\sum ^n_{k=1}(x^2_{^{}k}-\bar{x}x_k)}[/tex]

and

[tex]a=\bar{y}-\bar{Bx}[/tex]

Now we just have to apply the formula

after we apply it we get that

ŷ = 1.50473 x + 12.90922