Skip to content
Prev 33293 / 398506 Next

covariate data errors

Dear Anthony,

The gls (generalized least squares) function in the nlme package should do 
what you want. (I assume that your analysis leads you to expect an 
error-covariance matrix of a specific form with some free parameters to 
estimate.)

Generalized least squares estimation is a common topic in regression texts. 
You'll find a brief appendix on the subject from my R and S-PLUS Companion 
to Applied Regression, in the context of time-series regression, at 
<http://www.socsci.mcmaster.ca/jfox/Books/Companion/appendix-timeseries-regression.pdf>.

I hope that this helps,
  John
At 11:40 PM 6/12/2003 -0400, Andy Jacobson wrote:
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox