[R] Mauchly and Levene
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Tue Jun 27 11:22:57 CEST 2006
Tanja Seifried <cinnamon313 at web.de> 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
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list