Question: what is the equation for the line of best?
Answer: Such formulas can be rather messy. Here is the formula for a linear least squares line, or best fit straight line: (Remember that the equation of a line is y = mx + b, with m = slope and b = y-intercept.)