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
It works!!!
Thanks a lot Chuck!
-Original Message-
From: Chuck Cleland [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 March 2008 11:29 PM
To: Elena Wilson
Cc: r-help@r-project.org
Subject: Re: [R] Weighting data when running regressions
On 3/10/2008 7:49 AM, Elena Wilson wrote:
> Dea
On 3/10/2008 7:49 AM, Elena Wilson wrote:
> Dear R-Help,
>
> I'm new to R and struggling with weighting data when I run regression. I've
> tried to use search to solve my problem but haven't found anything helpful
> so far.
>
> I (successfully) import data from SPSS (15) and try to run a linea
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
___
Dear R-Help,
I'm new to R and struggling with weighting data when I run regression. I've
tried to use search to solve my problem but haven't found anything helpful
so far.
I (successfully) import data from SPSS (15) and try to run a linear
regression on a subset of my data file where WEIGH
5 matches
Mail list logo