Set up the Gaussian likelihood for a linear model and show that maximizing it gives least squares
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Asks you to write the likelihood of a linear regression model with independent Gaussian errors and show that maximizing it gives ordinary least squares. Tests the log-likelihood derivation, the normal equations, and the bias of the variance MLE.