Displaying 2 results from an estimated 2 matches for "ndwd".
Did you mean:
dwd
2012 Jan 09
2
Unexpected results using the oneway_test in the coin package
...ding~habitat,data=mydata,main="Boxplot of breeding strategies",ylab="breeding strategy",col="gold",lty=1)
### Kruskal-Wallis test
kruskal_test(breeding ~ habitat, data = mydata, distribution = approximate(B = 9999))
### Nemenyi-Damico-Wolfe-Dunn test (joint ranking)
NDWD <- oneway_test(breeding ~ habitat, data = mydata,
ytrafo = function(data) trafo(data, numeric_trafo = rank),
xtrafo = function(data) trafo(data, factor_trafo = function(x)
model.matrix(~x - 1) %*% t(contrMat(table(x), "Tukey"))),
teststat = "max...
2012 Mar 26
0
Different result with "kruskal.test" and post-hoc analysis with Nemenyi-Damico-Wolfe-Dunn test implemented in the help page for oneway_test in the coin package that uses multcomp
...icative difference to apply a post-hoc test
to check which classes are different.
i find this code in a R help:
http://stackoverflow.com/questions/2478272/kruskal-wallis-test-with-details-on-pairwise-comparisons
class <- m.class.length.lf
var <- m.class.l
dft <- data.frame(class,var)
NDWD <- oneway_test(var ~ class, data = dft,
ytrafo = function(data) trafo(data, numeric_trafo = rank),
xtrafo = function(data) trafo(data, factor_trafo = function(x)
model.matrix(~x - 1) %*% t(contrMat(table(x), "Tukey"))),
teststat = "max", di...