[ http://issues.apache.org/jira/browse/MATH160?page=comments#action_12442651 ]
Luc Maisonobe commented on MATH160:

I'm affraid code from any of the Numerical Recipes book cannot be included in commonsmath.
See the redistribution conditions in the NR site here: http://www.numericalrecipes.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 ?
> ChiSquare Test for Comparing two binned Data Sets
> 
>
> Key: MATH160
> URL: http://issues.apache.org/jira/browse/MATH160
> Project: Commons Math
> Issue Type: New Feature
> Reporter: Matthias Hummel
> Priority: Minor
> Attachments: commonsmath.patch
>
>
> Current ChiSquare test implementation only supports standard ChiSquare 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 ChiSquare 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, email: commonsdevunsubscribe@jakarta.apache.org
For additional commands, email: commonsdevhelp@jakarta.apache.org
