Check your understanding

Quiz

You have built OLS from scratch, checked its assumptions through residuals, handled leverage, multicollinearity and heteroskedasticity, and moved beyond the straight line into logistic regression and GLMs. This quiz checks what stuck. The last two steps are live R you can run.

Question 1 of 6

What OLS minimises

Ordinary least squares chooses the line that minimises:

Correct: OLS minimises the sum of squared vertical distances from points to the line.
OLS balances squared distance, not a count of points.