Dear Greg,
thanks so much. Now I understand!!
Thanks!!
From: Greg Snow
Sent: Wed, January 5, 2011 11:27:53 PM
Subject: RE: [R] Comparing fitting models
The output with all three fits gives you 2 comparisons, fit1 vs. fit2 and fit2
vs. fit3.
So using
t: Wed, January 5, 2011 10:34:15 PM
Subject: RE: [R] Comparing fitting models
Just do anova(fit3, fit1)
This compares those 2 models directly.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -Original Message-
> From:
Jedi [mailto:frodo.j...@yahoo.com]
Sent: Wednesday, January 05, 2011 2:46 PM
To: Greg Snow; r-help@r-project.org
Subject: Re: [R] Comparing fitting models
Dear Greg,
thanks for your answer, but that is not the point.
My question is another: from the data in the R prompt how
can I compare the models?
t.org] On Behalf Of Frodo Jedi
> Sent: Wednesday, January 05, 2011 10:10 AM
> To: r-help@r-project.org
> Subject: [R] Comparing fitting models
>
>
> Dear all,
> I have 3 models (from simple to complex) and I want to compare them in
> order to
> see if they fit equally well
Dear all,
I have 3 models (from simple to complex) and I want to compare them in order to
see if they fit equally well or not.
From the R prompt I am not able to see where I can get this information.
Let´s do an example:
fit1<- lm(response ~ stimulus + condition + stimulus:condition, data=scrd)
5 matches
Mail list logo