commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <>
Subject [jira] Commented: (MATH-160) Chi-Square Test for Comparing two binned Data Sets
Date Wed, 08 Aug 2007 13:36:59 GMT


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:
>             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.

View raw message