[ http://issues.apache.org/jira/browse/MATH-160?page=comments#action_12444161 ] Phil Steitz commented on MATH-160: ----------------------------------
You are both right - Luc is correct in pointing out that we cannot use code taken or translated from Numerical Recipes (NR), nor can we implement numerical algorithms unique to NR. What we always try to do is implement standard algorithms that are documented elsewhere (i.e., find another source beyond NR). I have not looked carefully at the patch yet, but it should not be hard to find documentation for ChiSquare computed as described above. Any suggestions for sources or comments on the patch itself would be appreciated. > Chi-Square Test for Comparing two binned Data Sets > -------------------------------------------------- > > Key: MATH-160 > URL: http://issues.apache.org/jira/browse/MATH-160 > Project: Commons Math > Issue Type: New Feature > Reporter: Matthias Hummel > Priority: Minor > Attachments: commons-math.patch > > > Current Chi-Square test implementation only supports standard Chi-Square > testing with respect to known distribution. We needed testing for comparison > of two sample data sets where the distribution can be unknown. For this case > the Chi-Square test has to be computed in a different way so that both error > contributions (one for each sample data set) are taken into account. See > Press et. al, Numerical Recipes, Second Edition, formula 14.3.2. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]