Some really basic statistics functions and convenience macros -- Statistics::Descriptive is probably better, but people still use this.
Perl Perl6
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Basic
lib/Statistics
t
.gitignore
.perlcriticrc
Basic.pm
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
README

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] );