Salta al contenuto
Note per Studenti Maximum Likelihood Estimation - Overview Report

Maximum Likelihood Estimation - Overview

Starting point. The model is y=g(x)+ey=g(x)+e, with ee the noise. With data (xi,yi)(x_i,y_i) in the linear case y=Φθ+ey=\Phi\theta+e (stacking the {yi}\{y_i\} and the {xi}\{x_i\} in Φ\Phi), weighted least squares estimates arg⁡min⁡θ∥y−Φθ∥W2\arg\min_\theta\lVert y-\Phi\theta\rVert_W^2 (see Least Squares Estimation - Linear and Weighted Least SquaresThe least squares estimator minimises the sum of squared deviations between observed and predicted outputs; for models linear in the parameters it has a closed form given by the normal equation, extended to weighted least squares and illustrated on a straight-line fit and on a DC motor.Least Squares Estimation - Linear and Weighted Least Squares →). But how about ee?! Least squares uses no explicit description of the noise.

Idea. Give the noise a probability distribution: for instance e∼N(0,1)e\sim\mathcal N(0,1), or e∼U([α,β])e\sim\mathcal U([\alpha,\beta]), and so on. The distribution pep_e of the noise induces a distribution of the data given the parameters, p(y∣θ)p(y\mid\theta).

Likelihood. Define L(θ∣y)=p(y∣θ),L(\theta\mid y)=p(y\mid\theta), viewed as a function of the parameters θ\theta (to be estimated, θ^\hat\theta) with the observed data {yi}\{y_i\} fixed.

The estimate is obtained by optimising the likelihood: the board writes max⁡θL(θ∣y)and thenmax⁡θ−log⁡L(θ∣y)\max_\theta L(\theta\mid y)\qquad\text{and then}\qquad\max_\theta-\log L(\theta\mid y) (as written, including the minus sign in front of the logarithm: the maximiser of LL is the minimiser of −log⁡L-\log L, so "max" of −log⁡L-\log L may be a slip on the board).

Gaussian example (as written on the board). Next to this the board notes, for a Gaussian, p(y)=e−y2/σ2p(y)=e^{-y^2/\sigma^2} (without the normalisation constant). The strips contain nothing further on this lecture topic: the second half of that lecture is exercises.

Preceding material: System Identification - Estimation Problem and Parametric Model ClassesEstimation means reconstructing an unknown function from noisy samples; the problem is ill posed, so one fixes a parametric model class, and the basic objects (statistic, estimator, estimate) are defined, with the gray-box and black-box versions for dynamical systems.System Identification - Estimation Problem and Parametric Model Classes → and Performance of the Linear Least Squares EstimatorWith zero-mean noise of covariance P, the weighted least squares estimator with weight P inverse is unbiased and has the smallest variance among all unbiased estimators that are linear in the data; the proof compares it with an arbitrary linear unbiased estimator.Performance of the Linear Least Squares Estimator →.

Versione ripasso

  • Model y=g(x)+ey=g(x)+e; weighted LS minimises ∥y−Φθ∥W2\lVert y-\Phi\theta\rVert_W^2 without describing the noise. ML instead gives ee a distribution (N(0,1)\mathcal N(0,1), U([α,β])\mathcal U([\alpha,\beta]), ...), which yields p(y∣θ)p(y\mid\theta).
  • Likelihood L(θ∣y)=p(y∣θ)L(\theta\mid y)=p(y\mid\theta): a function of θ\theta with the data {yi}\{y_i\} fixed.
  • Estimate: max⁡θL(θ∣y)\max_\theta L(\theta\mid y), equivalently work with the logarithm of LL (board: max⁡−log⁡L\max-\log L, probably meaning minimising −log⁡L-\log L).
  • Gaussian density as written: p(y)=e−y2/σ2p(y)=e^{-y^2/\sigma^2}.

Teoria collegata