[R] R ANOVA gives diferent results than SPSS

Thomas Lumley tlumley at u.washington.edu
Thu Feb 11 16:42:04 CET 2010


On Thu, 11 Feb 2010, Protzko wrote:

>
> I guess my subject says it all.  But I loaded a dataset in spss and used the
> foreign package to read and save it in R.  Running an anova (using the aov
> command) gives a different F and p value in R than it does in SPSS.  ANy
> idea what is going on?

Yes. Either you specified a different model or different tests for the same model in the two systems, or you are interpreting the output incorrectly, or the results are different.

Without more detail it is hard to be sure, but the first two possibilities seem more likely.

         -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-help mailing list