Displaying 20 results from an estimated 300 matches similar to: "Mann-Whitney by group"
2005 Dec 20
1
Wilcoxon Mann-Whitney Rank Sum Test in R
An earlier post had posed the question: "Does anybody know what is relation
between 'T' value calculated by 'wilcox_test' function (coin package) and
more common 'W' value?"
I found the question interesting and ran the commands in R and SPSS. The W
reported by R did not seem to correspond to either Mann-Whitney U,
Wilcoxon W or the Z which I have more
2011 Oct 06
1
Wilcox Test / Mann Whitney U Test
Hello List,
I'm trying to prepare some lecture notes on non parametric methods,
and I can't manually reproduce the results of the wilcox.test function
for ordinal data.
The data I'm using are from David Howell's website, available here
http://www.uvm.edu/~dhowell/StatPages/More_Stuff/OrdinalChisq/OrdinalChiSq.html
If I run the wilcox.test function on the data I get a p-value of
2009 Aug 26
3
mann whitney u
Dear Sir,
I am comparing two samples using wilcox.test in R. Literature appears to describe mann whitney u test as the most appropriate test to use on my data.
is the wilcox.test function equivalent to mann-whitney u? Is there a way to gain the U-value as apposed to the W-value in R?
Thank you
2007 Aug 15
0
Mann-Whitney U test discrepancies
Hi,
I do want to use the Mann-Whitney test which ranks my data and then
uses
those ranks rather than the actual data.
Here is the R code i am using:
group1<-
c(1.34,1.47,1.48,1.49,1.62,1.67,1.7,1.7,1.7,1.73,1.81,1.84,1.9,1.96,2,
2,2.19,2.29,2.29,2.41,2.41,2.46,2.5,2.6,2.8,2.8,3.07,3.3)
> group2<-
2009 Jul 11
2
mann-whitney U-test - U-value
Hi,
I know that I can perform a Mann-Whitney U test with wilcox.test(x,y)
But instead of an U-value I get a W-Value.
Is it possible to change this?
2009 Feb 14
1
Mann Whitney test
Hi,
I have a statistical question.
To apply the Mann Whitney test to compare a pair of vectors, they must to
have the same length ?
Thanks,
Rodrigo
[[alternative HTML version deleted]]
2009 Sep 07
1
Equivalence of Mann-Whitney test and Kruskal-Wallis test with k=2
Hi all,
The Kruskal-Wallis test is a generalization of the two-sample Mann-Whitney
test to *k* samples. That being the case, the Kruskal-Wallis test with *k*=2
should give an identical p-value to the Mann-Whitney test, should it not?
x1<-c(1:5)
x2<-c(6,8,9,11)
a<-wilcox.test(x1,x2,paired=FALSE)
b<-kruskal.test(list(x1,x2),paired=FALSE)
a$p.value
[1] 0.01587302
b$p.value
[1]
2003 Aug 26
1
Mann-Whitney U Table
Does anyone have a piece of code or know how I can use R to generate a table
of
critical values for the Mann-Whitney (aka Wilcoxon Rank Sum) test.
Ideally, I'd like a table that contains the critical values for any two
samples of size 3 through 30. I could use Monte Carlo simulation or the
normal approximation when n1 and n2 are greater than, 10, but I figured
someone may know how to
2009 Nov 18
1
mann-whitney test with more groups
Dear r-helpers,
I want to test groups of samples for significant differences.
Question: Does Group1 differ significantly from group2.
This is a question to be answered by mann-whitney-u-test.
I know that I can use wilcox.test with 2 samples.
My problem: How can r perform the test automatically if there are more than 2 groups in my data frame.
Test group1 vs. 2, 1 vs. 3, 1 vs. 4, etc.
This is
2005 Feb 24
0
How to code a bootstrap version of the Wilcoxon-Mann-Whitney test?
Dear Stefan
I need to apply a Mann Whitney test to my data, by applying a bootstrap, in
R.
Loonkig for an answer in internet I found your question to the R mailing
list but I have not found the answer to your question.
Please, could you help me?
thank you very much in advance.
Best regards
Luciana
2005 May 16
1
Mann-Whitney & Wilcoxon Rank Sum
Hello,
I am hoping someone could shed some light into the Wilcoxon Rank Sum Test
for me? In looking through Stats references, the Mann-Whitney U-test and
the Wilcoxon Rank Sum Test are statistically equivalent. When using the
following dataset:
m <- c(2.0863,2.1340,2.1008,1.9565,2.0413,NA,NA)
f <- c(1.8938,1.9709,1.8613,2.0836,1.9485,2.0630,1.9143)
and the wilcox.test command as
2003 Feb 15
2
How to code a bootstrap version of the Wilcoxon-Mann-Whitney test (and variants)?
Hello,
can someone please help me with coding a function for a bootstrap WMW test (package boot, R under Windows, version 1.6.2)?
2012 May 29
2
Wilcoxon-Mann-Whitney U value: outcomes from different stat packages
Given this example
#start code
a<-c(0,70,50,100,70,650,1300,6900,1780,4930,1120,700,190,940,
760,100,300,36270,5610,249680,1760,4040,164890,17230,75140,1870,22380,5890,2430)
b<-c(0,0,10,30,50,440,1000,140,70,90,60,60,20,90,180,30,90,
3220,490,20790,290,740,5350,940,3910,0,640,850,260)
wilcox.test(a, b, paired=FALSE)
#sum of rank for first sample
sum.rank.a <-
2007 Aug 14
4
Mann-Whitney U
Hi,
Could someone please tell me how to perform a Mann-Whitney U test on a
dataset with 2 groups where one group has more data values than another?
I have split up my 2 groups into 2 columns in my .txt file i'm using with
R. Here is the code i have so far...
group1 <- c(LeafArea2)
group2 <- c(LeafArea1)
wilcox.test(group1, group2)
This code works for datasets with the same number
2011 Sep 21
0
Resumen de R-help-es, Vol 31, Envío 12 Mann-Whitney U Test
>Hola colegas, no encuentro como hacer el Mann-Whitney U Test en R.
>
> Alguna solución?????
>
> Un abrazo a todos.
>
> Leonardo
>
Hola Leonardo:
La prueba de Mann-Whitney también se conoce como la prueba de suma de rangos de wilcoxon y puede calcularse mediante la función wilcox.test
Un saludo,
Nicolás Benítez Parejo
Técnico de Evaluación e Investigación
Agencia
2013 Oct 02
5
Interpreting the result of a Wilcoxon (Mann-Whitney U) test
Hello everyone,
I'm having some trouble interpreting the results of a Wilcoxon
(Mann-Whitney U) test. Hope you can help.
This is the R script that I am running:
a <- c(1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 1, 5, 1, 1, 1, 3, 1, 1,
1, 1, 1, 1, 3, 1, 1)
b <- c(1, 2, 1, 1, 2, 3, 2, 2, 1, 2, 1, 1, 1, 2)
wilcox.test(a, b, alternative="t", mu=0, exact=FALSE, paired=FALSE) #1st
2016 Mar 28
7
Mann-Whitney con datos temporales
Hola a tod en s,
queremos hacer una comparación entre dos lugares muy alejados entre sí
en relación a la temperatura de cada sitio usando medias horarias de
un período determinado. Sólo hay medidas de un sensor en cada sitio y
queremos saber si las diferencias son significativas o no entre
sitios/curvas. Hemos usado un test de Mann?Whitney U con la función
wilcox.test (paired=F) ya que los
2008 Jan 26
1
How to apply the wilcox_test function to subsets ?
Dear R-forumites,
I want to apply a Wilcoxon test on subsets of the data frame mydata,
splitted using the myindice variable. When I send :
wilcoxtest <- by(mydata, mydata$myindice, function(x)
{wilcox_test(x$value~x$fact)})
I get :
Error in eval(expr, envir, enclos) : object "x" not found
whereas
wilcoxtest <- by(mydata, mydata$myindice, function(x)
2013 May 30
1
wilcox_test function in coin package
Dear All,
I have two simple data samples (no groups or factors, etc.) and would just
like to compute the two-sample Wilcoxon Rank Sum test using the wilcox_test
function contained in the coin package, which is reportedly better than the
regular wilcox.test function because it performs some adjustment for ties.
Would anyone know how to craft a script to perform this task? Much
appreciated.
Janh
2010 Feb 25
6
Subset Question
Hello helpful R folks,
First off, please forgive my English. Second, I'm new with R, I've
searched the archives about subsets, and I haven't found quite the help I
need.
I'm currently analysing a population survey whose data set has about 15000
households (the rows/observations) and 130 variables (the columns). I've
managed to import the set into R as a data.frame called