Any Two Sample Median Tests (for differences) in R

  • Context: Undergrad 
  • Thread starter Thread starter number0
  • Start date Start date
  • Tags Tags
    Median
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
number0
Messages
102
Reaction score
0
Hey,

Is there any Two Sample Median Tests (for differences) in R. I tried searching for hours, and I got not luck. The closest ones I can think of is:

mood.test
wilcox.test

but they are not really testing for median differences. The sign test, on the other hand, does tests for median differences but for only paired samples.

Any help would be appreciated.

Thanks.
 
Physics news on Phys.org
A Mann-Whitney U test should do the trick (don't know off-hand which R function implements this).

HTH