Any Two Sample Median Tests (for differences) in R

  • Context: Undergrad 
  • Thread starter Thread starter number0
  • Start date Start date
  • Tags Tags
    Median
Click For Summary
SUMMARY

The discussion focuses on the need for a Two Sample Median Test in R to assess differences between two independent samples. Participants mention the mood.test and wilcox.test functions, noting their limitations in directly testing for median differences. The sign test is acknowledged for paired samples only. The Mann-Whitney U test is recommended as a suitable alternative for this purpose, although the specific R function for its implementation was not provided.

PREREQUISITES
  • Understanding of statistical hypothesis testing
  • Familiarity with R programming language
  • Knowledge of non-parametric tests
  • Experience with R packages for statistical analysis
NEXT STEPS
  • Research the R function for Mann-Whitney U test implementation
  • Explore the R package for mood.test and its applications
  • Learn about non-parametric statistical methods in R
  • Investigate the differences between wilcox.test and mood.test
USEFUL FOR

Statisticians, data analysts, and R programmers interested in performing median difference tests and exploring non-parametric statistical methods.

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
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K