[visionlist] analyzing medians

Steve Luck sjluck at ucdavis.edu
Wed Aug 4 20:31:17 GMT 2010


Hi Todd.  The two ANOVA approaches you described are essentially testing slightly different null hypotheses (one regarding the median across conditions, the other regarding the mean of the medians of the conditions).  As Andy Leber pointed out, taking the mean of the medians has the advantage of weighting each condition equally, irrespective of the number of trials per condition, and that is typically what one wants to do.  In all other respects the two null hypotheses are nearly equivalent, so it doesn't really matter which you choose unless there are different numbers of trials per condition.  The two approaches may differ slightly in the computed p value, but this likely reflects noise rather than anything real.

Steve


On Aug 4, 2010, at 9:20 AM, Todd S. Horowitz wrote:

> I have a puzzle about analyzing RT data. I prefer to use medians rather than means, because I am suspicious of all of the various data trimming procedures. However, medians seem to be creating some problems when I run ANOVAs on the data.
> 
> I'm working with some data. Let's say there are 4 factors, A, B, C, and D. However, the critical analyses collapse over the levels of factor D. My collaborator sent me an analysis where she took the ABCD medians, then collapsed by taking the means of those medians across factor D, then running the ANOVA. I decided that was incorrect, and directly computed the ABC medians from the raw data, then ran an ANOVA. The results were subtly different, pushing the 3-way interaction across the p = .05 line. However, it then ocurred to me that the ANOVA does just the same thing as what my collaborator did: the A main effect takes the means of the medians. If I were to directly compute the A medians from the raw data, and run a one-way ANOVA, I would probably get subtly different results from the ANOVA on the ABC medians.
> 
> So, what's the correct approach to this analysis? Do I give up and work with means? Always recompute the medians from the raw data for each effect separately? Or is it perfectly OK to just take the mean of medians?
> 
> thanks
> Todd
> 
> 
> Todd S. Horowitz, PhD
> Assistant Professor of Ophthalmology
> 	Harvard Medical School
> Associate Director
> 	Visual Attention Lab
> 	Brigham & Women's Hospital
> 64 Sidney Street, Suite 170 
> Cambridge, MA 02139
> phone:  (617) 768-8813
> fax:    (617) 768-8816
> http://search.bwh.harvard.edu/
> 
> 
> 
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
> _______________________________________________
> visionlist mailing list
> visionlist at visionscience.com
> http://visionscience.com/mailman/listinfo/visionlist

--------------------------------------------------------------------
Steven J. Luck, Ph.D.
Director, Center for Mind & Brain
Professor, Department of Psychology
University of California, Davis
Room 127
267 Cousteau Place
Davis, CA 95618
(530) 297-4424
sjluck at ucdavis.edu
Web: http://mindbrain.ucdavis.edu/people/sjluck
Calendar: http://www.google.com/calendar/embed?src=stevenjluck%40gmail.com&ctz=America/Los_Angeles
--------------------------------------------------------------------







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://visionscience.com/pipermail/visionlist/attachments/20100804/8d3c0aa9/attachment.htm>


More information about the visionlist mailing list