[ http://issues.apache.org/jira/browse/MATH-160?page=comments#action_12442651 ] Luc Maisonobe commented on MATH-160: ------------------------------------
I'm affraid code from any of the Numerical Recipes book cannot be included in commons-math. See the redistribution conditions in the NR site here: http://www.numerical-recipes.com/infotop.html#distinfo If the code is a well known algorithm with public references independant from NR, then it is OK. But the comments in your patch directly references the NR book in C++. Of course, this only my point of view, could anybody else give an advice on this topic ? > 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]