Outliers can affect _________ of a line of best fit calculated using the least squares method.

A. the slope
B. the y-intercept
C. both the slope and the y-intercept
D. none of the above

C. both the slope and the y-intercept