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

thanks again,
Tanja


> Tanja Seifried <[EMAIL PROTECTED]> 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
> ~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to