Statistics::Welford(3pm) | User Contributed Perl Documentation | Statistics::Welford(3pm) |
NAME¶
Statistics::Welford - Standard statistics using Welford's algorithmSYNOPSIS¶
my $stat = Statistics::Welford->new; while (1) { $stat->add(rand); ... } print $stat->mean;
DESCRIPTION¶
Standard statistics using Welford's algorithmMETHODS¶
new¶
my $stat = Statistics::Welford->new;
The "new" constructor lets you create a new Statistics::Welford object.
add¶
Add an entry to the statistics basen¶
Returns the number of entries to the statistics basemin¶
Returns the minimum number in the statistics basemax¶
Returns the maximum number in the statistics basemean¶
Returns the mean valuevariance¶
Returns the variance valuestandard_deviation¶
Returns the standard deviation valueAUTHOR¶
Kaare Rasmussen <kaare@cpan.org>.COPYRIGHT¶
Copyright (C) 2010, Kaare RasmussenThis module is free software; you can redistribute it or modify it under the same terms as Perl itself.
2016-10-27 | perl v5.24.1 |