You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Radoslav Tsvetkov (JIRA)" <ji...@apache.org> on 2012/10/10 16:43:02 UTC

[jira] [Updated] (MATH-878) G-Test (Log-Likelihood ratio - LLR test) in math.stat.inference

     [ https://issues.apache.org/jira/browse/MATH-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Tsvetkov updated MATH-878:
-----------------------------------

    Attachment: MATH-878_gTest.patch

Source Code + Java Doc + Tests
                
> G-Test (Log-Likelihood ratio - LLR test) in math.stat.inference
> ---------------------------------------------------------------
>
>                 Key: MATH-878
>                 URL: https://issues.apache.org/jira/browse/MATH-878
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Radoslav Tsvetkov
>              Labels: features, test
>             Fix For: 3.1
>
>         Attachments: MATH-878_gTest.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 1. Implementation of G-Test (Log-Likelihood ratio LLR test for independence and goodnes-of-fit)
> 2. Reference: http://en.wikipedia.org/wiki/G-test
> 3. Reasons-Usefulness: G-tests are tests are increasingly being used in situations where chi-squared tests were previously recommended. 
> The approximation to the theoretical chi-squared distribution for the G-test is better than for the Pearson chi-squared tests. In cases where Observed >2*Expected for some cell case, the G-test is always better than the chi-squared test.
> For testing goodness-of-fit the G-test is infinitely more efficient than the chi squared test in the sense of Bahadur, but the two tests are equally efficient in the sense of Pitman or in the sense of Hodge and Lehman. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira