Expand description
Weighted and generalised least squares.
See the book entry Linear regression.
Structs§
- General
Least Squares - Least squares with a known error structure: minimise
(y - Xw)ᵀ Σ⁻¹ (y - Xw)whereΣis the covariance of the errors (generalised least squares), or the special case of independent errors with per-sample weights (weighted least squares,Σ = diag(1/weight)). This is the best linear unbiased estimator whenΣis right: noisy or correlated samples count for less.