PM
To: kMan
Subject: Re: [R] lm function in R
Thank you so much, kMan. That makes sense. Only one question, how can I
see the value of 'error'? Here's what I see:
Call:
lm(formula = Y ~ X1 * X2 * X3, na.action = na.exclude)
Coefficients:
(Intercept)
turday, February 13, 2010 5:04 PM
> To: Bert Gunter
> Cc: r-help@r-project.org
> Subject: Re: [R] lm function in R
>
> I tried..
>
> mod = lm(Y ~ X1*X2*X3, na.action = na.exclude)
> formula(mod)
>
> This produced
> Y ~ X1 * X2 * X3
>
>
> When I typ
;>> Is it correct to assume then that...
>>>>
>>>> When I put + R evaluates the following equation:
>>>> Y-Hat = b0 + b1X1 + b2X2 + . . . bkXk + 7 7 7 + bkXk
>>>>
>>>>
>>>> But when I put * R evaluates the following equa
iscussurus
-
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Something Something
Sent: Saturday, February 13, 2010 5:04 PM
To: Bert Gunter
Cc: r-help@r-project.org
Subject: Re: [R] lm function in R
I tried..
mod = lm
ia, which is surprisingly good for that sort
> of question these days.
>
> --
> David.
>
>>
>>
>>
>>
>>
>> On Sat, Feb 13, 2010 at 1:30 PM, Bert Gunter
>> wrote:
>>
>> ?formula
>>>
>>>
>>> Bert Gunter
Feb 13, 2010 at 1:30 PM, Bert Gunter wrote:
>
>> ?formula
>>
>>
>> Bert Gunter
>> Genentech Nonclinical Statistics
>>
>> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
>> On
>> Behalf
ordlund
Cc: r-help@r-project.org
Subject: Re: [R] lm function in R
Thanks Dan. Yes that was very helpful. I didn't see the change
from '*'
to
'+'.
Seems like when I put * it means - interaction & when I put + it's
not an
interaction.
Is it correct to assum
> Genentech Nonclinical Statistics
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On
> Behalf Of Something Something
> Sent: Saturday, February 13, 2010 1:24 PM
> To: Daniel Nordlund
> Cc: r-help@r-project.org
> Subjec
oject.org [mailto:r-help-boun...@r-project.org]
> > On Behalf Of Something Something
> > Sent: Friday, February 12, 2010 5:28 PM
> > To: Phil Spector; r-help@r-project.org
> > Subject: Re: [R] lm function in R
> >
> > Thanks for the replies everyone. Greatly app
g [mailto:r-help-boun...@r-project.org]
> > On Behalf Of Something Something
> > Sent: Friday, February 12, 2010 5:28 PM
> > To: Phil Spector; r-help@r-project.org
> > Subject: Re: [R] lm function in R
> >
> > Thanks for the replies everyone. Greatly appreciate it.
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Something Something
> Sent: Friday, February 12, 2010 5:28 PM
> To: Phil Spector; r-help@r-project.org
> Subject: Re: [R] lm function in R
>
> Thanks
Thanks for the replies everyone. Greatly appreciate it. Some progress, but
now I am getting the following values when I don't use "as.factor"
13.14167 25.11667 28.34167 49.14167 40.39167 66.86667
Is that what you guys get?
On Fri, Feb 12, 2010 at 5:00 PM, Phil Spector wrote:
> By converting
12 matches
Mail list logo