Skip to content

Weighted Least Squares

2 messages · Erin Hodgess, Peter Dalgaard

#
Dear R People:

Is there a function for weighted least squares, please?

Thanks in advance!

Sincerely,
Erin M. Hodgess, Ph.D.
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
One Main Street 
Houston, TX 77002
e-mail: hodgess at uhddx01.dt.uh.edu



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Erin Hodgess <hodgess at uhddx01.dt.uh.edu> writes:
Either the weigths= argument to lm or lm.gls from the MASS package
depending on your needs, I suspect. Beware that there are different
meanings of "weight" though.