[ 
https://issues.apache.org/jira/browse/MATH-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518443
 ] 

Luc Maisonobe commented on MATH-160:
------------------------------------

If we create a new interface (say TwoSamplesChiSquareTest), we need to add a 
createTwoSamplesChiSquareTest method in TestFactory, this would also be an 
incompatible API change (regardless of the fact TwoSamplesChiSquareTest extends 
or not ChiSquareTest).

I don't see how to solve this problem in an API compatible way.

> Chi-Square Test for Comparing two binned Data Sets
> --------------------------------------------------
>
>                 Key: MATH-160
>                 URL: https://issues.apache.org/jira/browse/MATH-160
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Matthias Hummel
>            Priority: Minor
>             Fix For: 1.2
>
>         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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to