| CPAN Ratings Statistics-Basic reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of Statistics-Basic
Dox are standard, but assumes you remember all your statistics.
You probably want correlation, not covariance (though the latter is likely to pop into your mind if you're thinking about ANOVA and colinearity). I also ended up getting a reminder from Math::NumberCruncher that, "Correlation ranges from 1 to -1, with a correlation of zero meaning no correlation exists between the two variables."
It's unfortunate that (like M::NC) the co* methods only operate on two vectors. Therefore you may need something like:
use Math::Combinatorics;
use Statistics::Basic qw(:all);
my $combos = Math::Combinatorics->new(count=>2, data=>[@vectors]);
while(my @combo = $combos->next_combination){
my $cor = correlation( @combo );
print "The correlation is $cor for vectors:\n$combo[0]\n$combo[1]\n" if abs($cor) > .66;
}
Jerrad Pierce - 2010-06-29T00:09:35
(I've made code changes and doc changes for all these reviews. Thanks for the feedback you guys.)
Paul Miller - 2008-11-06T18:30:48
This is a nice module, and for simple averages or standard deviations it's significantly faster than Statistics::Descriptive. By default, standard deviation results are population (n), not sample (n-1).
Cooper Vertz - 2008-11-04T19:16:00
What a horrible interface: why call a function to take the mean of your data when, instead, you can simply create a new "mean object" with the data, then "query" it to get the result? </sarcasm> Plus there's not much functionality. If you want statistics, use Statistics::Descriptive.
Sean O'Rourke - 2006-02-05T09:17:23
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|