Re: [R] Mauchly and Levene

From: Peter Dalgaard <>
Date: Tue 27 Jun 2006 - 19:22:57 EST

Tanja Seifried <> writes:

> Hallo!
> I just started working with R to do the statistical analyses for my diploma thesis.
> I got two sets of data.
> Both contain repeated measures.
> One has only one within-subject factor with four levels.
> The other has one within-subject factor with two levels and one between-factor with two levels.
> I want to compute a Mauchly test for both sets and a Levene test for the second set.
> I couldn't find the LEvene test in R. Is it there?

There's one in the "car" package.   

> I found the mauchly.test but I wasn't able to find out how to compute the error of covariance matrix I need as an argument for mauchly.test.
> could anybody help me with the correct input I have to give to Mauchly.test so R will give me a test of sphericity out of my data?

Someone already did. This is the first example on the help page for mauchly.test. And generating SSD/Variance matrices is on the help page for SSD.

   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
~~~~~~~~~~ - (                  FAX: (+45) 35327907

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Tue Jun 27 19:41:17 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 27 Jun 2006 - 20:12:04 EST.

Mailing list information is available at Please read the posting guide before posting to the list.