views:

71

answers:

1

Hello,

I would like to know which is the current status of the statistical modules in CPAN, does any one know any recent review or could comment about its likes/dislikes with those modules?

I have used the clasical: Statistics::Descriptive, Statistics::Distributions, and some others contained in Bundle::Math::Statistics

Some of the modules has not been updated for long time. I don't know if this is because they are rock solid or has been overtaken by better modules.

Does someone know any current review similar to this old one:

Using Perl for Statistics: Data Processing and Statistical Computing

NB (for the people that will suggest to use R ;-)): All my code is mainly in perl, but I use R a lot for statistics and plotting. I usually prepare the dataframes with perl and write the R script in the perl modules as templates and save to a file and execute them from perl. But sometimes you have small data sets where efficiency is not an issue (well I am using perl insn't it ;-)) and you want to add some statistics and histograms to your report produced with perl.

+4  A: 

PDL, the Perl Data Language is alive and thriving so its worth taking a look at that.

And I think the other stats modules you mention are OK. For eg. Statistics::Descriptive is up-to-date and has been used in answers to a few questions here on Stackoverflow.

NB. There is also a Perl to R bridge called Statistics::R which looks interesting.

/I3az/

draegtun
I tried to use PDL in the past but at the end as I know R is easier for me to metaprograming R code in perl and execute it from perl than learning PDL (That is not trivial for complex things). I do that because I have lot of good books about R in our campus library and google gives you more solutions for R than for PDL when I have a problem. But if you know good resources for learning PDL I would try it again. Other reason to use R over PDL is because I have always problems with the sysadmins in order to dispaly charts or graphics from PDL (PLplot, pgplot) and plotting with R has no problems.
Pablo Marin-Garcia
About the Perl to R bridges, I know that there are at least two options but I have read several times that they are a bit problematic and is easier to write out your R code and exec from perl in batch mode. I never tried them so I can not verify these statements.
Pablo Marin-Garcia
Oh, the PDL page has been updated and refurbished!. When I tried to use in the 2007 and 2008 it seemed a bit dead, but seems that the modern perl revival has also awaken the PDL community with 4 releases since Nov. 2008. That is Good.Also [pdl-stats](http://sourceforge.net/projects/pdl-stats/) seems interesting
Pablo Marin-Garcia
The Perl-R bridge is currently undergoing significant maintenance after being adopted by a new maintainer!
tsee
@tsee: nice to see that statistics::R is active again since this August. I will give it a try again!. Thanks for the comment +1.
Pablo Marin-Garcia
Pablo Marin-Garcia