How does the OLS estimate relate to the maximum likelihood estimate when errors are normally distributed?

Quick Overview

Asks how ordinary least squares relates to maximum likelihood estimation when regression errors are normally distributed. Tests the Gaussian log-likelihood derivation, the two estimates of the error variance, and what normality adds for inference.

How does the OLS estimate relate to the maximum likelihood estimate when errors are normally distributed?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How does the ordinary least squares (OLS) estimate relate to the maximum likelihood estimate under the assumption of normally distributed errors? ```hint Write the log-likelihood Write the Gaussian log-likelihood for independent errors and see which term depends on the coefficients. ``` ```hint Look past the coefficients The model has another parameter besides the coefficients. Compare how the two approaches estimate it. ``` ### What a Strong Answer Covers - The log-likelihood under independent, constant-variance normal errors and which part of it depends on the coefficients - Whether the coefficient estimates coincide, and why the error variance does not change that - How each approach estimates the error variance, and the bias involved - What normality adds for inference and optimality beyond the point estimates - What changes when the errors are not normal or not identically distributed ### Follow-up Questions - If the errors follow a Laplace distribution, what does maximum likelihood minimize? - How does the picture change when the errors are normal but heteroskedastic with a known variance structure? - Without normality, what guarantees does OLS still have, and how do you do inference? - How does a Gaussian prior on the coefficients connect least squares to ridge regression?

Overview: Asks how ordinary least squares relates to maximum likelihood estimation when regression errors are normally distributed. Tests the Gaussian log-likelihood derivation, the two estimates of the error variance, and what normality adds for inference.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherMachine Learning
0
0

How does the ordinary least squares (OLS) estimate relate to the maximum likelihood estimate under the assumption of normally distributed errors?

What a Strong Answer Covers Guidance

  • The log-likelihood under independent, constant-variance normal errors and which part of it depends on the coefficients
  • Whether the coefficient estimates coincide, and why the error variance does not change that
  • How each approach estimates the error variance, and the bias involved
  • What normality adds for inference and optimality beyond the point estimates
  • What changes when the errors are not normal or not identically distributed

Follow-up Questions Guidance

  • If the errors follow a Laplace distribution, what does maximum likelihood minimize?
  • How does the picture change when the errors are normal but heteroskedastic with a known variance structure?
  • Without normality, what guarantees does OLS still have, and how do you do inference?
  • How does a Gaussian prior on the coefficients connect least squares to ridge regression?