Skip to content
Prev 33298 / 398506 Next

covariate data errors

Do you mean correlations in the *errors*?  The residuals are always 
correlated.  What does this have to do with your subject line -- it is 
errors in the dependent variable I think you mean?

If you have correlated errors, you should be using generalized least
squares not least squares or weighted least squares.  (That is covered in
all good books on regression: I don't know your level, but Seber's has a
comprehensive account.)  There are several R functions to fit GLS,
including gls(nlme) and lm.gls(MASS).
On Thu, 12 Jun 2003, Andy Jacobson wrote: