in reply to Hypergeometric Distribution

Math::GSL::Randist has a couple of hypergeometric functions.

Replies are listed 'Best First'.
Re^2: Hypergeometric Distribution
by Anonymous Monk on Aug 11, 2008 at 23:50 UTC
    I think I posted this as a comment instead of a reply ... not sure if that matters .. sorry for duplicates ... Thank you so much for your quick response. Ok, I think I have the correct module and sub routine to call, but now I am having great difficulty installing the use Math::GSL::CDF library. I tried this on my PC with: ppm install Math-GSL (and several other tries) with no luck. Also, I tried on my Linux server using: perl -MCPAN -e shell and subsequently: cpan> install Math-GSL ... again with no luck. I have Perl version 5.8.8 on both platforms. The error on linux strangely states: Perl v5.8.8 required--this is only v5.8.5, stopped at Makefile.PL line 2. Any help? Thank you!
      This is a long shot, but have you tried installing with CPANPLUS?

      I've recently run into a case where the installation of dependencies that failed under CPAN would work under CPANPLUS (I was doing strange things, I admit). This case involved a deeply-nested dependency, though, so if your error is for the top-level module CPANPLUS might not make a difference.

        Thanks, tod222. I tried it, but it didn't work:)
        Thanks. I just tried this, and it did not work. Ok, I am going to try to install the Math-GSL_CDM lib I found at: http://search.cpan.org/~leto/Math-GSL-0.07/lib/Math/GSL/CDF.pm (on the right hand side). I was able to grab it and unzip/untar. I'm pretty sketchy in this area though. Does it matter what folder I place it in, and how do I then install it? Sorry, for what is probably a basic question! Aloha, Annette
      My computer crashed last week, so I'm in the process of reinstalling gsl. I should have an answer for you soon...

      Update: I couldn't replicate your error, but I had a problem with Build.PL finding 'gsl'. Evidently, the module has some problems with 7 passes and 7 fails. Check the bug reports.

        Thanks again. Ok, I am going to try to install the Math-GSL_CDM lib I found at: http://search.cpan.org/~leto/Math-GSL-0.07/lib/Math/GSL/CDF.pm (on the right hand side). I was able to grab it and unzip/untar. I'm pretty sketchy in this area though. Does it matter what folder I place it in, and how do I then install it? Sorry, for what is probably a basic question! Hope your crash wasn't too devastating?! Been there done that! Aloha, Annette