[R] sphericity calculation

From: Darren Weber <darrenleeweber_at_gmail.com>
Date: Wed 11 May 2005 - 09:59:42 EST


Dear Prof. Baron,

thankyou for your pdf paper on using R, at

http://www.psych.upenn.edu/~baron/rpsych.pdf

I am currently interested in the sphericity notes on pp. 45-47.

The equation on p. 46 suggests the following R calculation:

D <- k^2 * ( mean(diag(S)) - mean(S) )^2

while the notes in the pdf indicate the following:

D <- k^2 * ( mean(S) - mean(diag(S)) )^2

Can you please consider this and advise the correct calculation?

Best, Darren

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed May 11 10:05:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:41 EST