Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Fisher's Exact Test

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

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


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?


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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-06-20 12:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.