Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-05 Thread JP
On 4 May 2011 15:32, peter dalgaard pda...@gmail.com wrote: On May 4, 2011, at 15:11 , JP wrote: Peter thanks for the fantastically simple and understandable explanation... To sum it up... to find the z values of a number of pairwise wilcox tests do the following: # pairwise tests with

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-05 Thread peter dalgaard
On May 5, 2011, at 10:58 , JP wrote: On 4 May 2011 15:32, peter dalgaard pda...@gmail.com wrote: On May 4, 2011, at 15:11 , JP wrote: Peter thanks for the fantastically simple and understandable explanation... To sum it up... to find the z values of a number of pairwise wilcox tests

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-05 Thread JP
Thanks once again Peter, I understand your points -- I fiddled and googled and read some more and found an eas(ier) route: library(coin) t - wilcoxsign_test(a ~ b, alternative = two.sided, distribution = exact()) # This is equivalent to paired wilcox.test pval - pvalue(t) sweet.zscore -

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-04 Thread JP
On 3 May 2011 20:50, peter dalgaard pda...@gmail.com wrote: On Apr 28, 2011, at 15:18 , JP wrote: I have found that when doing a wilcoxon signed ranked test you should report: - The median value (and not the mean or sd, presumably because of the underlying potential non normal

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-04 Thread peter dalgaard
On May 4, 2011, at 11:03 , JP wrote: On 3 May 2011 20:50, peter dalgaard pda...@gmail.com wrote: On Apr 28, 2011, at 15:18 , JP wrote: I have found that when doing a wilcoxon signed ranked test you should report: - The median value (and not the mean or sd, presumably because of

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-04 Thread JP
Peter thanks for the fantastically simple and understandable explanation... To sum it up... to find the z values of a number of pairwise wilcox tests do the following: # pairwise tests with bonferroni correction x - pairwise.wilcox.test(a, b, alternative=two.sided, p.adj=bonferroni, exact=F,

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-04 Thread peter dalgaard
On May 4, 2011, at 15:11 , JP wrote: Peter thanks for the fantastically simple and understandable explanation... To sum it up... to find the z values of a number of pairwise wilcox tests do the following: # pairwise tests with bonferroni correction x - pairwise.wilcox.test(a, b,

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-03 Thread JP
Thanks Uwe, How do I calculate the Z score and r value - please (once I have the p values)? Many Thanks JP 2011/5/2 Uwe Ligges lig...@statistik.tu-dortmund.de: To get the statsitics, you will have to run each wilcox.test  manually. the pairwise... version just extracts the p-values and

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-03 Thread Uwe Ligges
On 03.05.2011 10:33, JP wrote: Thanks Uwe, How do I calculate the Z score and r value - please (once I have the p values)? Actually you calculate the p value from the statistics rathger than vice versa. And pairwise.wilcox.test uses wilcox.test to calculate the separate tests and adjusts

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-03 Thread peter dalgaard
On Apr 28, 2011, at 15:18 , JP wrote: I have found that when doing a wilcoxon signed ranked test you should report: - The median value (and not the mean or sd, presumably because of the underlying potential non normal distribution) - The Z score (or value) - r - p value ...printed

Re: [R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-05-02 Thread Uwe Ligges
To get the statsitics, you will have to run each wilcox.test manually. the pairwise... version just extracts the p-values and adjusts them. Uwe Ligges On 28.04.2011 15:18, JP wrote: Hi there, I am trying to do multiple pairwise Wilcoxon signed rank tests in a manner similar to: a-

[R] Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test

2011-04-28 Thread JP
Hi there, I am trying to do multiple pairwise Wilcoxon signed rank tests in a manner similar to: a - c(runif(1000, min=1,max=50), rnorm(1000, 50), rnorm(1000, 49.9, 0.5), rgeom(1000, 0.5)) b - c(rep(group_a, 1000), rep(group_b, 1000), rep(group_c, 1000), rep(group_d, 1000))