commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <>
Subject [jira] Commented: (MATH-431) New tests: Wilcoxon signed-rank test and Mann-Whitney U
Date Sun, 07 Nov 2010 17:48:06 GMT


Phil Steitz commented on MATH-431:

I think the difference from R in the second example above  (two-sided, paired, exact=false)
may be due to the variance correction that R does in the approximation when there are ties
in the (absolute) paired differences.  Have a look at src/library/stats/R/wilcox.test.R in
a recent R source distro.  See e.g.
for a reference to the correction formula.  Another interesting (undocumented) thing that
R does is ignore the "exact" parameter when it encounters ties.  I can see the argument there,
but I prefer your approach of using mean ranks.  In any case we need to fully document.  And
of course add test cases...

> New tests: Wilcoxon signed-rank test and Mann-Whitney U
> -------------------------------------------------------
>                 Key: MATH-431
>                 URL:
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Mikkel Meyer Andersen
>            Assignee: Mikkel Meyer Andersen
>            Priority: Minor
>         Attachments:,,,
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> Wilcoxon signed-rank test and Mann-Whitney U are commonly used non-parametric statistical
hypothesis tests (e.g. instead of various t-tests when normality is not present).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message