Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Fisher's Exact Test

by maybeD (Sexton)
on Aug 07, 2005 at 13:40 UTC ( #481674=perlquestion: print w/replies, xml ) Need Help??

maybeD has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I'm looking for a module that will allow me to integrate Fisher's Exact Test into a Perl pipeline, rather than having to run it in R statistics package. Are there any in existence?

maybeD

Replies are listed 'Best First'.
Re: Fisher's Exact Test
by davidrw (Prior) on Aug 07, 2005 at 14:20 UTC
Re: Fisher's Exact Test
by biosysadmin (Deacon) on Aug 07, 2005 at 17:54 UTC
    If you already have working code in R, why not use Statistics::R?

    (CPAN search isn't picking up the link correctly, but you can use kobesearch to find it.

      Thanks, I have gone with this as I have the generated code for R. However it is not without problems.

      My code runs a number of Fisher's tests based on the data in another file. However there appears to be some memory problems.

      The script freezes at an arbitary point in the loop through the tests. Sometimes it makes it all the way through, sometimes it stops after only the sixth one.

      Do you know what could be up, whether there's a way of making the bridge more memory-efficient?

Re: Fisher's Exact Test
by tlm (Prior) on Aug 07, 2005 at 21:08 UTC

    I posted some code for this some weeks ago. Very alpha; you'll probably need to adapt it to your needs. See here.

    the lowliest monk

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://481674]
Approved by Tanktalus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2023-02-07 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (39 votes). Check out past polls.

    Notices?