Question: How to test the distribution of (site frequency spectrum) SFS?
gravatar for wang.yiguan
12 months ago by
wang.yiguan30 wrote:

I have the SFS of synonymous sties and non-synonymous sites. It seems more non-synonymous sites are located at low frequency spectrum, which might indicate purifying selection. But how can I test the difference of the two distributions. I noticed some papers using Mann-Whitney U Test. But I am questioning of the application. For example,

x <- c(1,3,5,7,9)

z <- c(9,7,5,3,1)

x and z are clearly different distributions, but the U test gives:


Wilcoxon rank sum test with continuity correction

data: x and z

W = 12.5, p-value = 1

alternative hypothesis: true location shift is not equal to 0

p = 1, no difference! Where is the problem?


snp R • 357 views
ADD COMMENTlink modified 4 weeks ago by WangYinan0 • written 12 months ago by wang.yiguan30

Hi! Would Kolmogorov-Smirnov test be helpful? I'm facing the same problem, and wandering if I could know your suggestion about this problem. Thanks a lot!

ADD REPLYlink written 4 weeks ago by WangYinan0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2157 users visited in the last hour