In statistical modeling, the goal of linear regression is to identify the line that minimizes the sum of the squared distances between the observed data and the predicted values. These distances are known as residuals (or errors). Squaring these errors intentionally penalizes large outliers, aggressively pulling the line toward anomalous data points (demonstrated in the Edge Case).