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

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Jun 21 15:03:39 CEST 2005


wu sz <r.shengzhe at gmail.com> 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 be more expedient to grab
TW Anderson's book and code the couple of lines it takes to generate
the test statistic and its asymptotic p-value.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list