Least Squares Estimator
Also LS Estimator · Linear Least Squares Estimator · LLS · Least Squares · Method of Least Squares · R_LS
The least squares estimator θ̂_LS minimizes the sum of squared prediction errors Σ (y_k − φ_kᵀθ)² of a model that is linear in the parameters; in the resistance example it is R̂_LS = Σ u_k i_k / Σ i_k².
Formula#
If has full column rank (, see Rank and Invertibility):
Resistance example (, , , ):
(derivation in MSI_VL01 > 1.2.3 Least Squares (LS)).
Properties#
- Noise only on the measured outputs: with i.i.d. noise of variance and exactly known , is unbiased with covariance , and for large approximately (Multivariate Normal Distribution). Details in script chapter 4.
- Noise on the regressor ⇒ bias: in the resistance example the regressor is itself noisy. Then The numerator converges to (the cross terms vanish), but the denominator picks up the variance of the current noise (Law of Large Numbers). The estimator is not asymptotically unbiased and always underestimates .
- The size of this bias depends only on the current noise relative to the true current, , not on the voltage noise . This is a general property of least squares: noise on the regression variable biases the estimate.
Example#
Sources#
- MSI script pp. 11–12 (§1.2.3), MSI_VL01 > 1.2.3 Least Squares (LS)
- MSI script pp. 20–21 (§2.5.2, bias analysis, eqs. (2.7)–(2.10)), MSI Slides 02 > 2.5.2 Least Squares estimator (not published)
- MSI script p. 29 (§4.1, problem formulation), p. 38 (covariance and distribution of )