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? 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? Thanks in advance! Greetings, Tanja ______________________________________________________________________________ Mit WEB.DE iNews werden Sie ?ber die Ergebnisse der wichtigsten WM-Begegnungen
Mauchly and Levene
2 messages · Tanja Seifried, Peter Dalgaard
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