Please find, 

the implementation Patch with the Source, Tests and Comments attached to the

https://issues.apache.org/jira/browse/MATH-878

br

Rado



________________________________
 From: Ted Dunning <[email protected]>
To: rado tzvetkov <[email protected]> 
Sent: Wednesday, October 10, 2012 4:34 PM
Subject: Re: [math] G-Tests in math.stat.inference
 

And the signed root version is indeed not suitable for more than the 2x2 case. 

All you need for the general case is element by element function application, 
row and column sums and overall sum. 

Sent from my iPhone

On Oct 10, 2012, at 4:30 AM, rado tzvetkov <[email protected]> wrote:



>
>Mahout don't have functionality for real cases (it's only [2x2] ) which is 
>suitable for language study or similar but not in biology
>
>
>
>
>________________________________
> From: Ted Dunning <[email protected]>
>To: Commons Developers List <[email protected]>; rado tzvetkov 
><[email protected]> 
>Sent: Tuesday, October 9, 2012 5:37 PM
>Subject: Re: [math] G-Tests in math.stat.inference
> 
>
>Feel free to grab and adapt the Mahout code.  It has some added wrinkles for 
>convenience like the signed square root variant of the G-test.
>
>
>On Tue, Oct 9, 2012 at 12:53 PM, rado tzvetkov <[email protected]> wrote:
>
>Also I already have code to contribute and tests for G-Test for independence. 
>(if needed) apache mahout also has some code implemented for LLR
>>
>
>
>

Reply via email to