Displaying 20 results from an estimated 6000 matches similar to: "check for difference."
2009 Apr 14
1
mean fold change issues and p values
I am new to R and have two scripts written slightly different but should to relatively the same thing but my lack of experience with the program I can not figure out the what I need to do to correct it. The first script gives me a consistent mean fold change values with every run but can generate negative p values for some. For the second version of the script, the fold changes seem to be very
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
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
2007 Aug 27
2
Sequential Rank Test
Hi R-Masters
I need use a sequential approach in serie of cases, but may data is not
normal.
If data is normal distribution is very easy create analysis using
likelihood ratio like of Wald test.
But in my case I need use a non-parametric test (Mann-Whitney).
I was use: RSiteSearch("sequential rank test") but not solve my
problem.
Do you know routine or package implement
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]
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?
2017 Jun 23
2
Paired Weighted Wilcoxon test in R
Dear R-users,
I?m trying to perform a non-parametric statistical pairwise comparison of two samples "x" and "y" using the Wilcoxon test in R, but each of the pairs have a weight associated.
An example of my data is the following one:
set.seed(9)
x <- sample(x = c(1:100), size = 20, replace = TRUE)
y <- sample(x = c(1:100), size = 20, replace = TRUE)
weight <-
2010 Aug 20
2
U value from wilcox.test
Dear all,
I want to compare the efficiency of 2 methods in extracting proteins from
algal samples. I collected 6 independant algal samples and I extracted 3 by
the method 1 and 3 others by the method 2.
So I have 2 groups of 3 samples, that are not paired. I would like to know
if the results obtained by these 2 methods are significantly different, I
hope method 2 to be more efficient than method
2012 Apr 25
3
R shell script
Hey guys,
Does anyone have an example of a REALLY simple shell script in R.
Basically i want to run this command:
library(MASS)
wilcox.test(list1,list2,paired=TRUE,alternative=c("greater"),correct=TRUE,exact=FALSE)
in a shell script something like this:
#!/bin/bash
R
library(MASS)
for i in *.out
do
wilcox.test($i,${i/out}.out2,paired=TRUE) >> $i.out
done
that i can run on a
2017 Jun 24
0
Paired Weighted Wilcoxon test in R
Hi DC9,
As no one has answered, I would say that as both the survey package
and Professor Lumley are widely respected, that is as good as it gets.
Jim
On Fri, Jun 23, 2017 at 7:26 PM, Dreams Collector
<dreamscollector9 at gmail.com> wrote:
> Dear R-users,
>
> I?m trying to perform a non-parametric statistical pairwise comparison of two samples "x" and "y" using
2003 Jun 11
1
qwilcox
The function 'wilcox.test' in R and S gives (almost) identical results (see
below). 'qwilcox' however, does not:
> qwilcox(p,5,5)
p: 0.025 0.975
--------------------
R> 3 22
S> 18 37
I originally wanted to ask a questions, but then I found the answer. Given
the confusion I run into, I wonder if this experience is worth reporting.
The
2012 Jul 06
1
Mann-Whitney by group
Hello,
I'm having some issues grouping cases for some Mann-Whitney U tests I'm attempting to run. I'm willing to use wilcox.test if it'll work; I've also tried wilcox_test() from the "coin" package. Here's the deal: for each column (A through H), I would like to run the two-sample independent test, comparing Group 5 (CD8.14 through CD8.17) to Group 6 (CD8.18
2005 Mar 02
2
wilcox.test statistics
Hi,
Could anyone provide the formula of the statistics which the wilcox.test
used for the two-sample rank-sum test? I got some statistics of 0 values,
but it is impossible to have 0 "rank-sum". Does the function use the
Mann-Whitney U test statistics? Thanks.
Ting-Yuan Liu
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
2007 May 05
1
NA in wilcox.test
Hello,
I'm trying to compare the allozyme data from two taxa. I have several
columns of data (19 loci) for each species. I want to do a Mann-Whitney
U-test or the wilcox.test (two sample Wilcoxon). When I try to run my code
(the first two columns are 1:name of the species, 2:name of individual) I
get the error message:
"Error in wilcox.test.default(CaScSc, CaScCo, alternative
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
2013 Feb 01
1
ks.test and wilcoxon.test results differ from other stat.packages
Probably, it's an obvious info, but I have not found anything in R FAQ
concerning
this feature/bug.
The results of ks.test and wilcoxon.test (in the Mann-Whitney version,
paired = 'FALSE') don't coincide with the results from the other statistical
packages, e.g. Statistica, Medcalc, and (as for MW test) from the numerous
online MW tests.
E.g.
Statistica p-value=0.0435353
Medcalc
2011 Feb 09
2
comparing proportions
Hi, I have a dataset that has 2 groups of samples. For each sample, then
response measured is the number of success (no.success) obatined with the number
of trials (no.trials). So a porportion of success (prpop.success) can be
computed as no.success/no.trials. Now the objective is to test if there is a
statistical significant difference in the proportion of success between the 2
groups of
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]]