Likelihood of a Gaussian linear model
Chapter 2 · Model: tn = w0 + w1(xn − 1900) + εn, with noise εn ~ N(0, σ²). So for each year the model says the winning time follows a Gaussian centred on the line. The likelihood of a data point is the height of that Gaussian at the time that was actually observed.
━ maximum-likelihood line ● chosen data point ● other data
The same Gaussian drawn on its own. The red dashed line marks the observed time; its height is the likelihood of this data point.
Predicted time: s
Observed time: s
Likelihood p(tn | xn, w, σ²):
log-likelihood of all data:
The Gaussian density is p(t | x, w, σ²) = (2πσ²)−1/2 exp( −(t − wTx)² / (2σ²) ). The fitted line uses the least-squares w, which is also the maximum-likelihood w for this model, and the fitted noise level is σ² = (1/N) Σ (tn − wTxn)². Make σ smaller or larger than the fitted value and watch the log-likelihood of all the data fall.