Question: what is the difference between ordinary least squares and generalized least squares?
Answer: Ordinary least squares assumes things like equal variance of the noise at every x location. Generalized least squares does not assume a diagonal co-variance matrix.