[R] Mauchly and Levene

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Jun 27 17:58:52 CEST 2006


Tanja Seifried <cinnamon313 at web.de> writes:

> Hallo
> 
> thanks a lot for the answer, I found the Levene test in the car package.
> 
> I already tried to compute my Mauchly.test the same way as in the example(SSD)
> matrix <- lm(data)

That is not how lm is used in example(mlmfit)... Is this really what
you did, and why are you calling the result "matrix"?

> mauchly.test(matrix,X=~1)
> 
> I was just unsure about it because with that I get a different result than when I do the Mauchly test with SPSS... hm

Very different, or just a little? I know that the R version carries a
few more terms of the asymptotic expansion that the one in SAS.

-- 
   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