Displaying 1 result from an estimated 1 matches for "exptdiff".
2011 Oct 20
1
p-val issue for ranked two-group test
...my groups.
mange= c(35, 60, 81, 158, 89, 130, 90, 38, 119, 137, 52, 30,
27, 115, 123, 31, 124, 91)
healthy= c(46, 50, 30, 58, 32, 42, 42, 33, 19, 42, 30, 26, 38, 23, 16,
28, 42, 42, 33, 35, 51, 31, 39, 40 , 42, 38, 36, 39, 38)
l.mange<-length(mange)
l.healthy<-length(healthy)
exptdiff <- mean.mange - mean.healthy #the expected difference between
between the mean of the ranked groups
both.chemistry<-c(mange, healthy) #concatenate two vectors into one in
preparation for resampling the data
both.ranks<-rank(both.chemistry) #rank combined data in the case that
the...