commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29419] New: - ChiSquareTest does not return
Date Mon, 07 Jun 2004 00:24:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29419>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29419

ChiSquareTest does not return

           Summary: ChiSquareTest does not return
           Product: Commons
           Version: Nightly Builds
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Math
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: scott@duchin.com


When executing the following code it never returns:

try { 
    double[] exp = new double[] {
        3389119.5, 649136.6, 285745.4, 25357364.76, 11291189.78, 543628.0, 
232921.0, 437665.75
    };

    long[] obs = new long[] {
        2372383, 584222, 257170, 17750155, 7903832, 489265, 209628, 393899
    };
    org.apache.commons.math.stat.inference.ChiSquareTestImpl csti =
      new org.apache.commons.math.stat.inference.ChiSquareTestImpl(); 
    double cst = csti.chiSquareTest(exp, obs); 
} catch (org.apache.commons.math.MathException me) {
    me.printStackTrace();
}

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message