Skip to content
Prev 25293 / 398502 Next

analysis of data with observation weights

Dear Peter and Michal,

I was under the impression that the weights argument in lm specifies 
inverse-variance weights, but that the weights argument in glm specifies 
case weights. Inverse-variance weights, which produce a WLS solution, are 
inappropriate for Michal's problem. I checked and now see that the weights 
arguments for both lm and glm are inverse-variance weights, so the 
procedure that I suggested was incorrect.

Sorry,
  John
At 11:48 PM 11/14/2002 +0100, Peter Dalgaard BSA 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
-----------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._