Skip to content
Prev 139150 / 398506 Next

Weighting data when running regressions

It works!!!
Thanks a lot Chuck!

-----Original Message-----
From: Chuck Cleland [mailto:ccleland at optonline.net] 
Sent: Monday, 10 March 2008 11:29 PM
To: Elena Wilson
Cc: r-help at r-project.org
Subject: Re: [R] Weighting data when running regressions
On 3/10/2008 7:49 AM, Elena Wilson wrote:
I've
TRUE)
Try it with just one equals sign after weights:

linmod=lm(Y~X1+X2+X3+X4W, subset=(X5==1 & X6==7), weights=WEIGHT)
http://www.R-project.org/posting-guide.html