public
Description: Some really basic statistics functions and convenience macros -- Statistics::Descriptive is probably better, but people still use this.
Homepage: http://search.cpan.org/perldoc?Statistics::Basic
Clone URL: git://github.com/jettero/statistics--basic.git
name age message
file .gitignore Sat Sep 12 03:58:22 -0700 2009 ignore this stuff (updates) [jettero]
file .perlcriticrc Sat Sep 12 04:12:21 -0700 2009 I happen to like it. Until perl itself removes... [jettero]
file Basic.pm Sat Sep 12 04:00:45 -0700 2009 grrz [jettero]
directory Basic/ Sat Sep 12 04:12:21 -0700 2009 stfu [jettero]
file Changes Sat Sep 12 04:13:30 -0700 2009 fixed actual problem [jettero]
file MANIFEST Mon Jun 29 03:32:47 -0700 2009 one more test [jettero]
file MANIFEST.SKIP Sat Sep 12 03:58:22 -0700 2009 ignore this stuff (updates) [jettero]
file Makefile.PL Mon Jun 29 03:57:12 -0700 2009 allow 5.6.x, not that it helps [jettero]
file README Thu Aug 07 06:42:42 -0700 2008 added a readme [jettero]
directory lib/ Mon Jun 29 03:29:58 -0700 2009 handle_missing alias [jettero]
directory t/ Sat Sep 12 03:58:22 -0700 2009 don't set TEST_AUTHOR, when you're not the auth... [jettero]
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] );