Statistics library

Don nospam at nospam.com.au
Fri Oct 24 01:27:53 PDT 2008


dsimcha wrote:
> Since there's really no good comprehensive statistics library for D (Tango has
> a little bit, the beginnings of a few are on dsource, but nothing much), Ive
> been rolling my own statistics functions as necessary.  Almost by accident, it
> seems like I've built up the beginnings of a decent statistics library.  I'm
> debating whether it might be interesting enough to people to be worth
> releasing, and whether enough community help would be available to really make
> it production quality, or to merge it with other people's efforts in this
> area.  The following functionality is currently available:


> Binomial, hypergeometric, normal, Poisson, Kolmogorov CDFs, hypergeometric,
> Poisson, binomial PDFs.  Inverse normal distribution,

Most of these are in Tango (not Kolmogorov). Are yours different in some 
way?

> A struct to generate all possible permutations of a sequence.

 >
 > Correlation (Pearson, Spearman rho, Kendall tau).   Note that the 
  Kendall
 > tau correlation is a very efficient O(N log N) version.
 >
 > Mean, standard deviation, variance, kurtosis, percent variance for 
arrays of
 > numeric values.
 >
 > Shannon entropy, mutual information.
 >
 > Kolmogorov-Smirnov tests

Sounds good.

> 
> 
> On the other hand, I'm a scientist, not a full-time programmer, 

Me too!

> Is there any interest in this from others in the D community?  Do other people
> think that D would benefit from having a decent statistics library?  

Yes. Which is why I put the existing stuff into Tango.


More information about the Digitalmars-d-announce mailing list