*** Welcome to piglix ***

Generalized least squares


In statistics, generalized least squares (GLS) is a technique for estimating the unknown parameters in a linear regression model. GLS can be used to perform linear regression when there is a certain degree of correlation between the residuals in a regression model. In these cases, ordinary least squares and weighted least squares can be statistically inefficient, or even give misleading inferences. GLS was first described by Alexander Aitken in 1934.

In a typical linear regression model we observe data on n statistical units. The response values are placed in a vector , and the predictor values are placed in the design matrix , where is a vector of the k predictor variables (plus a constant) for the ith unit. The model assumes that the conditional mean of given is a linear function of , whereas the conditional variance of the error term given is a known nonsingular matrix . This is usually written as


...
Wikipedia

...