It works!!! Thanks a lot Haris! -----Original Message----- From: Charilaos Skiadas [mailto:[EMAIL PROTECTED] Sent: Monday, 10 March 2008 11:30 PM To: Elena Wilson Cc: r-help@r-project.org Subject: Re: [R] Weighting data when running regressions
On Mar 10, 2008, at 7:49 AM, Elena Wilson wrote: > > linmod=lm(Y~X1+X2+X3+X4W, subset=(X5==1 & X6==7), weights==WEIGHT) That should likely be weights=WEIGHT, with one equal sign. Haris Skiadas Department of Mathematics and Computer Science Hanover College ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.