[R] Power curve for a wilcoxon test

2008-04-14 Thread Louisa Hay
Hi, I am trying to write R code to produce a power curve to show how the power of a Wilcoxon-test varies depending on the mean, with data generated from a uniform distribution. Any ideas how I should go about this?Louisa _ Amazing p

[R] Power curves

2008-04-14 Thread Louisa Hay
Hi, I am trying to create a power curve to show how the power of a t-test varies depending on the mean. Any ideas how I should go about this? Louisa _ [[alternative HTML version deleted]]

[R] Arrays and functions

2008-04-13 Thread Louisa Hay
Hi, I' am doing a stats project using R to work out the size of a t-test and wilcoxon test depending on the distribution and sample size. I just can't get it to work - I want to put my results from the function size() into an array.At the moment I keep getting the error message:Error in res[dis

[R] Arrays and functions

2008-04-13 Thread Louisa Hay
Hi, I' am doing a stats project using R to work out the size of a t-test and wilcoxon test depending on the distribution and sample size. I just can't get it to work - I want to put my results from the function size() into an array.At the moment I keep getting the error message:Error in res[dis

[R] FW:

2008-04-12 Thread Louisa Hay
Hi, I'm doing a stats project using R to work out the size of a t-test and wilcoxon test depending on the distribution and sample size. I just can't get it to work - I want to put my results from the function size() into an array.At the moment I keep getting the error message:Error in res[dist