Helios de Rosario Mart?nez
Researcher
>>> El d?a 20/05/2012 a las 0:58, jacaranda tree
<myjacaranda at yahoo.com> escribi?:
> Hi all,
> I have been struggling with ANOVAs on R. I am new to R, so I created
a
> simple data frame, and I do some analyses on R just to learn R and
then check
> them on SPSS to make sure that I am doing fine. Here is the problem
that I've
> run into:
>
> when we use the aov function, it uses SS Type I as default (on SPSS
it is
> Type III). Then I used the Anova function under cars package using
the
> command:
>
> mod <- lm(DV
> ~ IV1*IV2, data = mydata,
> contrasts=list(IV1=contr.sum,
> IV2=contr.sum))
> Anova(mod, type=?3?)
>
> Above, both of my IVs are between-SS variables. But still, results
from this
> model do not match the results from SPSS (I have to say they are not
too
> different either). But I was wondering if I am doing something wrong.
If what
> I am doing is okay, then my next question is can I use the same set
of
> commands (for Anova function) if one of my IVs was within-SS and the
other IV
> was between-SS?
>
>
> Thank you very much!
INSTITUTO DE BIOMEC?NICA DE VALENCIA
Universidad Polit?cnica de Valencia ? Edificio 9C
Camino de Vera s/n ? 46022 VALENCIA (ESPA?A)
Tel. +34 96 387 91 60 ? Fax +34 96 387 91 69
www.ibv.org
Antes de imprimir este e-mail piense bien si es necesario hacerlo.
En cumplimiento de la Ley Org?nica 15/1999 reguladora de la Protecci?n
de Datos de Car?cter Personal, le informamos de que el presente mensaje
contiene informaci?n confidencial, siendo para uso exclusivo del
destinatario arriba indicado. En caso de no ser usted el destinatario
del mismo le informamos que su recepci?n no le autoriza a su divulgaci?n
o reproducci?n por cualquier medio, debiendo destruirlo de inmediato,
rog?ndole lo notifique al remitente.