Statistics::Distributions::Analyze - A module to caculate Anova, T-test, etc.
use Statistics::Distributions::Analyze; my $stats = Statistics::Distributions::Analyze->new(); my @datas = ([1,2,3], [4,5,6], [7,8,9]); # for Anova my ($F, $P) = $stats->Anova(\@datas); print "F is $F, P is $P\n"; # for T-test my @datas = ([1,2,3], [4,5,6]); my ($F, $P) = $stats->T_test(\@datas); print "F is $F, P is $P\n";
More algorithms will be out soon
Please contact me with ANY suggestions.
Swansun Huang <swansun95 at gmail.com>
Copyright (c) 2008 by the Swansun Huang. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.