https://github.com/shlomif/perl-statistics-descriptive
The Statistics::Descriptive Perl 5/CPAN distribution
https://github.com/shlomif/perl-statistics-descriptive
hacktoberfest
Last synced: 3 months ago
JSON representation
The Statistics::Descriptive Perl 5/CPAN distribution
- Host: GitHub
- URL: https://github.com/shlomif/perl-statistics-descriptive
- Owner: shlomif
- License: other
- Created: 2016-01-09T21:47:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-02T09:18:23.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T08:51:17.782Z (3 months ago)
- Topics: hacktoberfest
- Language: Perl
- Homepage: https://metacpan.org/release/Statistics-Descriptive
- Size: 503 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NOTE!!!
Please install this using CPAN or similar. See
http://perl-begin.org/topics/cpan/ and our
[MetaCPAN page](https://metacpan.org/release/Statistics-Descriptive) .The GitHub repository uses [dzil](http://dzil.org/) and is not directly
installable.# ABOUT
Statistics::Descriptive - Module of basic descriptive statistical functions.
```
use Statistics::Descriptive;
my $stat = Statistics::Descriptive::Full->new();
$stat->add_data(1,2,3,4);
my $mean = $stat->mean();
my $var = $stat->variance();
my $tm = $stat->trimmed_mean(.25);
$Statistics::Descriptive::Tolerance = 1e-10;
```This module provides basic functions used in descriptive statistics.
It has an object oriented design and supports two different types of
data storage and calculation objects: sparse and full. With the sparse
method, none of the data is stored and only a few statistical measures
are available. Using the full method, the entire data set is retained
and additional functions are available.