Hi, Sorry I have to bother a question. Does R have the functions to do lsd, tukey, bonferonni, contrast etc. like in SAS? Many thanks, HS
how to do multiple comparisons in R?
4 messages · sun, Adaikalavan Ramasamy, Simon Blomberg +1 more
Certainly yes and more. Try checking under http://finzi.psych.upenn.edu/nmz.html and http://cran.r-project.org/manuals.html Regards, Adai
On Sun, 2005-09-11 at 20:12 -0500, Hongyu Sun wrote:
Hi, Sorry I have to bother a question. Does R have the functions to do lsd, tukey, bonferonni, contrast etc. like in SAS? Many thanks, HS
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
R has various methods for multiple comparison procedures. See package
multcomp, or ?TukeyHSD or ?pairwise.t.test for example. An
RSiteSearch("multiple comparison") returned 187 results. A priori contrasts
can be constructed using the make.contrasts function in the gmodels
package, for example. We try not to do anything like in SAS.
Simon.
At 11:12 AM 12/09/2005, Hongyu Sun wrote:
Hi, Sorry I have to bother a question. Does R have the functions to do lsd, tukey, bonferonni, contrast etc. like in SAS? Many thanks, HS
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
5 days later
Have you received a reply yet? I haven't seen one. There are functions "TukeyHSD" and "p.adjust" in the "stats" package, plus "multcomp" and "multtest" packages. If this is not an adequate answer, please submit another question (preferably after reading the posting guide! http://www.R-project.org/posting-guide.html). spencer graves
Hongyu Sun wrote:
Hi, Sorry I have to bother a question. Does R have the functions to do lsd, tukey, bonferonni, contrast etc. like in SAS? Many thanks, HS
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408-280-7915