commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikkel Meyer Andersen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-790) Mann-Whitney U Test Suffers From Integer Overflow With Large Data Sets
Date Tue, 12 Jun 2012 14:28:44 GMT

     [ https://issues.apache.org/jira/browse/MATH-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikkel Meyer Andersen resolved MATH-790.
----------------------------------------

    Resolution: Fixed

This second issue is fixed in SVN revision 1349372. Thanks again for reporting this issue,
too.
                
> Mann-Whitney U Test Suffers From Integer Overflow With Large Data Sets
> ----------------------------------------------------------------------
>
>                 Key: MATH-790
>                 URL: https://issues.apache.org/jira/browse/MATH-790
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0, Nightly Builds
>         Environment: Ubuntu Linux x64, Sun Java 6
>            Reporter: James Pickering
>            Assignee: Mikkel Meyer Andersen
>            Priority: Minor
>              Labels: newbie, patch
>             Fix For: 3.1
>
>         Attachments: MannWhitnetUOVerflowPatch.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When performing a Mann-Whitney U Test on large data sets (the attached test uses two
1500 element sets), intermediate integer values used in calculateAsymptoticPValue can overflow,
leading to invalid results, such as p-values of NaN, or incorrect calculations.
> Attached is a patch, including a test, and a fix, which modifies the affected code to
use doubles

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message