
Dear All:

I hope that this message finds you well.


I need some helps with t-test in R.

Assume I have the following data sets:

------------------------------------------------------------
X1       X2       X3       X4       X5       X6       X7       X8
------------------------------------------------------------
2          13        5          12        11        23        12        43
32        32        12        24        12        34        16        13
21        34        23        34        67        32        12        61 
12        54        23        87        46        72        19        20
94        63        73        23        53        72        40        34 
55        23        54        6          45        11        23        45
.
.
.
.
------------------------------------------------------------------




What I need to do is to use the t-test (two-independent samples) to compare each pairs.



For examples:

X1 versus X2
X1 versus X3
.
.
.
X1 versus X8

and

X2 versus X3
X2 versus X4
.
.
.
X2 versus X8

and so on.



My question: Is there away in R to do this in one step instead of doing it in many steps (pairs by pairs)?


With many thanks.


 Abou


==========================
AbouEl-Makarim Aboueissa, Ph.D.
Assistant Professor of Statistics
Department of Mathematics & Statistics
University of Southern Maine
96 Falmouth Street
P.O. Box 9300
Portland, ME 04104-9300
USA


Tel: (207) 228-8389
Fax: (207) 780-5607
Email: aaboueissa@usm.maine.edu
          aboueiss@yahoo.com

Web address:  http://www.usm.maine.edu/~aaboueissa/

Office: 301C Payson Smith


	[[alternative HTML version deleted]]


