FreeBSD Ports

math/p5-Statistics-Descriptive-Discrete 0.12

Compute descriptive statistics for discrete data sets

Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
math, perl5
Package size
16.4 KiB, 35.4 KiB installed

Description

This module provides basic functions used in descriptive statistics. It borrows very heavily from Statistics::Descriptive::Full (which is included with Statistics::Descriptive) with one major difference. This module is optimized for discretized data e.g. data from an A/D conversion that has a discrete set of possible values. E.g. if your data is produced by an 8 bit A/D then you'd have only 256 possible values in your data set. Even though you might have a million data points, you'd only have 256 different values in those million points. Instead of storing the entire data set as Statistics::Descriptive does, this module only stores the values it's seen and the number of times it's seen each value.

For very large data sets, this storage method results in significant speed and memory improvements. In a test case with 2.6 million data points from a real world application, Statistics::Descriptive::Discrete took 40 seconds to calculate a set of statistics instead of the 561 seconds required by Statistics::Descriptive::Full. It also required only 4MB of RAM instead of the 400MB used by Statistics::Descriptive::Full for the same data set.

Install

As a binary package — by origin, or by package name:

pkg install math/p5-Statistics-Descriptive-Discrete
pkg install p5-Statistics-Descriptive-Discrete

From the ports tree:

cd /usr/ports/math/p5-Statistics-Descriptive-Discrete/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Statistics-Descriptive-Discrete>0:math/p5-Statistics-Descriptive-Discrete

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.120.120.120.120.12
FreeBSD:14:quarterly0.120.12n/a0.120.12
FreeBSD:15:latest0.120.12n/a0.120.12
FreeBSD:15:quarterly0.120.12n/an/an/a
FreeBSD:16:latest0.120.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 1
All run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%PERL5_MAN3%%/Statistics::Descriptive::Discrete.3.gz
  • %%SITE_PERL%%/Statistics/Descriptive/Discrete.pm
  • %%SITE_PERL%%/auto/Statistics/Descriptive/Discrete/autosplit.ix
distinfo 1
FileSizeSHA256
Statistics-Descriptive-Discrete-0.12.tar.gz256446eebf313fd6de14be2374c80199a6b712b92b5e516dfe248488fd328fb229db8
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.