Answer:
Or equivalently:
Explanation:
If we are assuming that we have:
x independent variable
y dependent variable
And we want to find an equation of the line, we have the following general expression:
Where m represent the slope and b the y intercept. The general formula for the slope is given by:
Where
are the minimum required points in order to estimate the slope.
In order to find the y intercept we just need to use one of the points selected
and we can solve for b like this:
Or equivalently: