[R] test for equality of two data sets with multidimensional variables

2005-06-21 Thread wu sz
Hello there, I have two data sets with 14 variables each, and wish to do the test for equality of their covariance matrices and mean vectors. Normally these tests should be done by chi square test (box provided) and Hotelling's T square test respectively. Which R functions could do this kind of

Re: [R] test for equality of two data sets with multidimensional variables

2005-06-21 Thread Petr Pikal
Hi searching in CRAN homepage for hotelling gave me this response Thanks everyone for your help on this question. I solved the problem by writing a procedure to calculate Hotelling's T^2 for a one-sample, multivariate t-test. Here's how it looks, perhaps it will be useful to others. data

Re: [R] test for equality of two data sets with multidimensional variables

2005-06-21 Thread wu sz
Hi, I just find another package shapes for solving the Hotelling T^2 test, but what about the R function for the test of covariance equality(chi ^ 2 box's test) between two multidimensional data sets? Shengzhe __ R-help@stat.math.ethz.ch mailing list

Re: [R] test for equality of two data sets with multidimensional variables

2005-06-21 Thread Peter Dalgaard
wu sz [EMAIL PROTECTED] writes: Hi, I just find another package shapes for solving the Hotelling T^2 test, but what about the R function for the test of covariance equality(chi ^ 2 box's test) between two multidimensional data sets? Shengzhe Rather than looking for a package, it might