Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Some really basic statistics functions and convenience macros -- Statistics::Descriptive is probably better, but people still use this.
Perl Perl6
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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] );
Something went wrong with that request. Please try again.