Page 1 of 1

adjustments for wilcoxon signed rank test

Posted: Thu Apr 10, 2014 7:23 am
by neptunhiker
Hi,

I would like to replicate the results of the wilcoxon signed rank tests for equal medians by hand to confirm that I understand the test procedure. Unfortunately I get slightly different results which is probably due to the fact that my calculations don't include adjustments for ties and continuity. I have read in the documentation that the adjustments implemented in eviews follow Handbook of Sheskin (1997) and Conover (1980). Unfortunately I cannot get a hold of the two sources. Could someone therefore please poste the adjustments here?

Thank you very much.

Kind regards

Re: adjustments for wilcoxon signed rank test

Posted: Thu Apr 10, 2014 10:40 am
by EViews Glenn
We don't normally do this, but...

For continuity, take absolute value of the numerator and subtract .5.
Let t_i be the number of ties for the i-th rank. Then in the denominator of your expression subtract sum_i (t_i^3 - t_i) / 48 prior to taking the square root.

Re: adjustments for wilcoxon signed rank test

Posted: Tue Apr 15, 2014 9:25 am
by neptunhiker
Hi Glenn,

Thanks a lot. That really helped me out. I do now get the same results after adjustments.