search for: wilcox_data

Displaying 1 result from an estimated 1 matches for "wilcox_data".

2017 Aug 22
1
Wilcoxon signed-rank test
...I am using a paired test. There is one strange case. Sample A has a higher mean than a sample B. However, wilcox.test function says that sample B has a significantly higher "mean rank" than sample A. How is it possible? Here is the code (data file is attached): df <- read.table("wilcox_data.txt", head=TRUE) mean(df$A) [1] 0.7987849 mean(df$B) [1] 0.7977966 mean(df$C) [1] 0.6350737 wilcox.test(df$B, df$A, paired=TRUE, alternative="greater") Wilcoxon signed rank test with continuity correction data: df$B and df$A V = 134300, p-value = 3.299e-05 alternative hypo...