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? -- View this message in context: http://n4.nabble.com/R-ANOVA-gives-diferent-results-than-SPSS-tp1477322p1477322.html Sent from the R help mailing list archive at Nabble.com.
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
I've always found exactly the same results. If you post code that allows us to reproduce this, I suspect someone would be able to shed light on it. And output too. J On 11 February 2010 06:47, Protzko <protzko at gmail.com> 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? > -- > View this message in context: http://n4.nabble.com/R-ANOVA-gives-diferent-results-than-SPSS-tp1477322p1477322.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Jeremy Miles Psychology Research Methods Wiki: www.researchmethodsinpsychology.com