[R] multiple comparisons on a between factor

From: <elgoran_at_web.de>
Date: Wed, 27 Apr 2011 11:02:15 +0200 (CEST)

   Dear list,
   im facing an issue of statistical data analysis that I consider myself    unable to resolve in R so i hope to get some valuable insights from you. i    run an ANOVA with four factors; factor4 is an between factor (two different    groups measured), the others are withins (tested across /all/ subjects).    accordingly, my model looks as follows:    fm1
   <-aov(dataSubjects~(factor1*factor2*factor3*factor4)+Error(subject/(factor1*    factor2*factor3))+factor4,data=mydata)    print(summary(fm1))
   so far so good. i now would like to perform multiple comparisons, but    separately for each level of factor4 (two). this is how I do it: i sort out    (using subset) the levels im interested in comparing, say level 1 of factor    1
   Type.lvl1 <- subset(mydata, factor1 == "lvl1")    and then compute an uncorrected pairwise t-test between the two levels of    factor 4:

   WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt mit    gratis Handy-Flat! [1]http://produkte.web.de/go/DSL_Doppel_Flatrate/2


  1. http://produkte.web.de/go/DSL_Doppel_Flatrate/2
    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.
Received on Wed 27 Apr 2011 - 10:49:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Apr 2011 - 15:10:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive