A least-squares line, often called a regression line, is a straight line that best fits a set of data points in a scatter plot by minimizing the sum of the squares of the vertical distances (residuals) between the observed data points and the predicted values on the line. This method provides a way to quantify the relationship between two variables and helps in predicting future outcomes based on that relationship.
congrats on reading the definition of Least-squares line. now let's actually learn it.