adjustments for wilcoxon signed rank test

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

neptunhiker
Posts: 50
Joined: Sat Oct 20, 2012 7:30 am

adjustments for wilcoxon signed rank test

Postby neptunhiker » Thu Apr 10, 2014 7:23 am

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

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: adjustments for wilcoxon signed rank test

Postby EViews Glenn » Thu Apr 10, 2014 10:40 am

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.

neptunhiker
Posts: 50
Joined: Sat Oct 20, 2012 7:30 am

Re: adjustments for wilcoxon signed rank test

Postby neptunhiker » Tue Apr 15, 2014 9:25 am

Hi Glenn,

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


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests