Re: [R] comparing variances/distributions

2020-06-18 Thread Michael Dewey
Dear Ana This really depends on your scientific question. The two techniques you have shown do different things and there must be many more which could be applied. Michael On 17/06/2020 20:57, Ana Marija wrote: Hello, I have p values from two distributions, Pold and Pnew head(m) CHR

Re: [R] comparing variances/distributions

2020-06-17 Thread Ana Marija
would using Kolmogorov-Smirnov test make more sense here? > x=m$Pold > y=m$Pnew > ks.test(x,y) Two-sample Kolmogorov-Smirnov test data: x and y D = 0.0049066, p-value = 1.221e-15 alternative hypothesis: two-sided Warning message: In ks.test(x, y) : p-value will be approximate in the presen

[R] comparing variances/distributions

2020-06-17 Thread Ana Marija
Hello, I have p values from two distributions, Pold and Pnew > head(m) CHR POS MARKER Pnew Pold 1: 1 785989 rs2980300 0.1419 0.9521 2: 1 1130727 rs10907175 0.1022 0.4750 3: 1 1156131 rs2887286 0.3698 0.5289 4: 1 1158631 rs6603781 0.1929 0.2554 5: 1 1211292 rs6685064 0