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


