Off topic:Mann whitney test
0
0
Entering edit mode
5.8 years ago

Hi

I want to perform a mann-whitney test in R, I am using following script on example dataset dataMW <- read.table("Mannwhitney.txt",h=T) attach(dataMW) names(dataMW)

boxplot(length~sex, data = dataMW)

wilcox.test(length~sex,mu=0,alt="two.sided",correct=TRUE, paired=FALSE, conf.int=TRUE, data = dataMW)

Example dataset

sex length

M 17.6

M 17.7

M 18.1

M 18.9

M 20.4

M 19.6

M 19.2

M 19.3

M 21.8

F 15.8

F 14.2

F 16.7

F 12

F 17.3

F 18.05

F 18

F 18.2

F 18.3

The script is running on the example dataset, but I want to perform it on multiple datasets, how can I perform, because it will be hectic to perform one by one. Looking for a response from your side.

Mannwhitney R Multiple dataset • 640 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 3107 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6