Re: Hypergeometric Distribution
by kyle (Abbot) on Aug 11, 2008 at 21:45 UTC
|
Searching CPAN for hypergeometric turns up a couple of things that look promising. Would any of those work for you?
| [reply] |
Re: Hypergeometric Distribution
by Khen1950fx (Canon) on Aug 11, 2008 at 21:48 UTC
|
| [reply] |
|
|
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!
| [reply] |
|
|
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.
| [reply] |
|
|
|
|
|
|
| [reply] |
|
|
|
|
Re: Hypergeometric Distribution
by BrowserUk (Patriarch) on Aug 12, 2008 at 00:25 UTC
|
If you fail to find a suitable library, this might help.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
Re: Hypergeometric Distribution
by Anonymous Monk on Aug 11, 2008 at 23:23 UTC
|
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! | [reply] |
|
|
Hi,
If you need a Math-GSL (latest version 0.07) ppm for Win32, just save the below as 'Math-GSL.ppd':
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Math-GSL" VERSION="0,07,0,0">
<TITLE>Math-GSL</TITLE>
<ABSTRACT></ABSTRACT>
<AUTHOR></AUTHOR>
<IMPLEMENTATION>
<OS NAME="MSWin32" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
<CODEBASE HREF="http://members.optusnet.com.au/~sisyphus1/Math-GSL
+-0.07_58.tar.gz" />
<PROVIDE NAME="Math::GSL" VERSION="0.07" />
</IMPLEMENTATION>
</SOFTPKG>
Then run ppm install Math-GSL.ppd
Note that it apparently needs perl 5.8.8 - according to the requirements as specified by the module's authors.
In a week or so I'll see if randyk wants to put it (plus the 5.10 version) in his ppm reps. There's one minor problem with it at the moment (in that gsl_set_error_handler_off is not having the desired effect). It's easy to work around that shortcoming, but I'd like to get it sorted before I approach randyk.
Cheers, Rob | [reply] [d/l] [select] |
|
|
Thank you,
I tried this, and got the following error:
Downloading Math-GSL-0.07...not found
ppm install failed: 404 Not Found
Does it matter what folder I place it in? Also, I am Windows XP, will this still work?
Thank you so much!
Aloha,
Annette
| [reply] |
|
|
|
|
Thank you! Thank you! Thank you!
You have made me a happy cat! I did fix the line wrap last time, but silly me missed the + sign. You're a life saver!
Much Mahalo as we say here!
Aloha,
Annette
| [reply] |
Re: Hypergeometric Distribution
by educated_foo (Vicar) on Aug 12, 2008 at 14:35 UTC
|
| [reply] |