# Math Help - Line representing coordinate dots?

1. ## Line representing coordinate dots?

been awhile since I've been in any math classes and i forgot what this is even called.... lets say I have the coordinates:

(2, 27.69),(4,29.35),(6,29.32),(8,28.5),(10,29.82)

and I want a line that represents the general slope of these coordinates... what is it called and how do i do it?

2. It's called a linear regression. And your data results in a 'not too accurate' one.

A quartic regression would be better.

Using your data I get a quartic of

$y=.005286x^{4}-.086979x^{3}+.303854x^{2}+.807917x+25.47$

This has an R^2 of 1 and that is as good as it gets.

When doing a regression, the closer R^2 is to 1, the better.