Thread Subject: difference in medians

Subject: difference in medians

From: Joseph Frank

Date: 19 Nov, 2009 14:08:01

Message: 1 of 3

Is there any matlab function that tests for the difference in medians between two samples with unequal sizes?

Subject: difference in medians

From: Matt

Date: 19 Nov, 2009 15:15:20

Message: 2 of 3

"joseph Frank" <josephfrank1969@hotmail.com> wrote in message <he3jg1$kga$1@fred.mathworks.com>...
> Is there any matlab function that tests for the difference in medians between two samples with unequal sizes?

Why wouldn't

median(Sample1)-median(Sample2)

do the trick?

Subject: difference in medians

From: Jos

Date: 19 Nov, 2009 15:16:04

Message: 3 of 3

"joseph Frank" <josephfrank1969@hotmail.com> wrote in message <he3jg1$kga$1@fred.mathworks.com>...
> Is there any matlab function that tests for the difference in medians between two samples with unequal sizes?

Yes, RANKSUM

http://www.mathworks.com/access/helpdesk/help/toolbox/stats/ranksum.html

hth
Jos

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com