Skip to content

gls

linear-algebra · scripts/linear-algebra/gls.m

GLS  Generalized least squares (Octave name).
  BETA = GLS(Y, X, O) solves Y = X*BETA + E with error covariance
  proportional to O. MATLAB portable path is weighted least squares /
  lscov. Unmarked MATLAB-mode scripts that never call this name are
  unaffected.

  See also OLS, LSCOV.