[R] help comparing two median with R
Jim Lemon
jim at bitwrit.com.au
Tue Apr 17 12:36:35 CEST 2007
Pedro A Reche wrote:
> Dear R users,
> I am new to R and I would like to ask your help with the following
> topic. I have three sets of numeral data, 2 sets are paired and a
> third is independent of the other two. For each of these sets I have
> obtained their basic statistics (mean, median, stdv, range ...).
> Now I want to compare if these sets differ. I could compare the mean
> doing a basic T test . However, I was looking for a test to compare
> the medians using R. If that is possible I would love to hear the
> specifics.
Hi Pedro,
You can use the Mann-Whitney test ("wilcox" with two samples), but you
would have to check that the second and third moments of the variable
distributions were the same, I think.
Jim
More information about the R-help
mailing list