Skip to content
Prev 75763 / 398502 Next

trouble with wilcox.test

On Wed, 17 Aug 2005, Greg Hather wrote:

            
Are you sure it is not the concepts that are giving 'trouble'?
What real problem are you trying to solve here?
Expecting an approximation to be good in the tail for m=2 is pretty 
unrealistic.  But then so is believing the null hypothesis of a common 
*continuous* distribution.  Why worry about the distribution under a 
hypothesis that is patently false?

People often refer to this class of tests as `distribution-free', but they 
are not.  The Wilcoxon test is designed for power against shift 
alternatives, but here there appears to be a very large difference in 
spread.  So
[1] 0.9989005

even though the two samples differ in important ways.
I get (current R 2.1.1 on Linux)
[1] 1.59976e-07

and no crash.  So the suggestion is to use a machine adequate to the task, 
and that probably means an OS with adequate stack size.

        
Please do heed it.  What version of R and what machine is this?  And do 
take note of the request about HTML mail.