[Moderator: This was erronously sent to R-announce, and filtered fortunately ] Hi, This is my first time to use R. I'm wondering which function I can use to do multiple comparison. I have an lm object and want to do multiple comparison based on this object. Splus has a function multicomp() but I could not find a similar one in R. Thanks in advance. Really appreciate it. Julie -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 8 Jul 2002, Julie Cong wrote:> [Moderator: This was erronously sent to R-announce, > and filtered fortunately ] > > Hi, > > This is my first time to use R. I'm wondering which function I can use to do > multiple comparison. I have an lm object and want to do multiple comparison > based on this object. Splus has a function multicomp() but I could not find > a similar one in R. Thanks in advance. Really appreciate it. >At the moment the multiple comparisons features in R are a bit limited. p.adjust does a number of corrections of p-values that are very general pairwise.t.test is another interface to these same methods TukeyHSD provides Tukey's Honestly Significant Difference help.search("comparison") suggests that the npmc package might also be helpful. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>On Mon, 8 Jul 2002, Julie Cong wrote: > > > [Moderator: This was erronously sent to R-announce, > > and filtered fortunately ] > > > > Hi, > > > > This is my first time to use R. I'm wondering which function I can use > to do > > multiple comparison. I have an lm object and want to do multiple comparison > > based on this object. Splus has a function multicomp() but I could not find > > a similar one in R. Thanks in advance. Really appreciate it. > >I believe that a recent package ("multcomp") has been uploaded to CRAN. It depends on another package ("mvtnorm"). Both are by the same authors. While they are not identical to S-Plus' "multicomp", they are similar enough that you can *do* several different multiple comparison procedures on various lm and aov objects. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Aboubakar Maitournam
2002-Jul-09 07:58 UTC
[R] Which function to use for multiple comparison?
> Thomas Lumley wrote: > > > On Mon, 8 Jul 2002, Julie Cong wrote: > > > > > [Moderator: This was erronously sent to R-announce, > > > and filtered fortunately ] > > > > > > Hi, > > > > > > This is my first time to use R. I'm wondering which function I can use to do > > > multiple comparison. I have an lm object and want to do multiple comparison > > > based on this object. Splus has a function multicomp() but I could not find > > > a similar one in R. Thanks in advance. Really appreciate it. > > > > > > > At the moment the multiple comparisons features in R are a bit limited. > > > > p.adjust does a number of corrections of p-values that are very general > > > > pairwise.t.test is another interface to these same methods > > > > TukeyHSD provides Tukey's Honestly Significant Difference > > > > help.search("comparison") suggests that the npmc package might also be > > helpful. > > > > -thomas > > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > > Send "info", "help", or "[un]subscribe" > > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ > > I think that the package multtest which must go with version R-1.5.0 is relatively > complet > in term of multiple comparisons based on t-test(paired or not), Wilcoxon > test(paired or not) > F test with the the adjustment of p_values. > > Best regards. > > Aboubakar Maitournam.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> [Moderator: This was erronously sent to R-announce, > and filtered fortunately ] > > Hi, > > This is my first time to use R. I'm wondering which function I can use to do > multiple comparison. I have an lm object and want to do multiple comparison > based on this object. Splus has a function multicomp() but I could not find > a similar one in R. Thanks in advance. Really appreciate it. >R base has `TukeyHSD' for Tukey CI's. Some other procedures (e.g. Dunnett) are available in package `multcomp'. In addition, the `multtest' package offers resampling based procedures (available at www.bioconductor.org) Torsten> Julie > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._