jettero / statistics--basic

Some really basic statistics functions and convenience macros -- Statistics::Descriptive is probably better, but people still use this.

This URL has Read+Write access

jettero (author)
Sat Sep 12 04:13:30 -0700 2009
commit  ecbf8a3a7e826342c20d333aab523e22fb95fc8d
tree    d41098d2399a4640f4cebba6a1fb59bdaacf9894
parent  b1a6237453d1060b02426f12af27b4eec698bc8a
README
use Statistics::Basic qw(:all);

my $median = median( 1,2,3 );
my $mean   = mean(  [1,2,3]); # array refs are ok too

my $variance = variance( 1,2,3 );
my $stddev   = stddev(   1,2,3 );

my $correlation = correlation( [1 .. 3], [1 .. 3] );