BSD Ports

math/p5-Statistics-CaseResampling 0.17 FreeBSD

Efficient resampling and calculation of medians with confidence intervals

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

Description

The purpose of this (XS) module is to calculate the median (or in principle also other statistics) with confidence intervals on a sample. To do that, it uses a technique called bootstrapping. In a nutshell, it resamples the sample a lot of times and for each resample, it calculates the median. From the distribution of medians, it then calculates the confidence limits.

In order to implement the confidence limit calculation, various other functions had to be implemented efficiently (both algorithmically efficient and done in C). These functions may be useful in their own right and are thus exposed to Perl. Most notably, this exposes a median (and general selection) algorithm that works in linear time as opposed to the trivial implementation that requires O(n*log(n)).

In the other systems

SystemPortVersion
FreeBSDmath/p5-Statistics-CaseResampling0.17
OpenBSDmath/p5-Statistics-CaseResampling0.18
NetBSDmath/p5-Statistics-CaseResampling0.16nb1
DragonFlymath/p5-Statistics-CaseResampling0.15
MidnightBSDmath/p5-Statistics-CaseResampling0.17
HardenedBSDmath/p5-Statistics-CaseResampling0.17
GhostBSDmath/p5-Statistics-CaseResampling0.17

Install

Binary package:

pkg install p5-Statistics-CaseResampling

From the ports tree:

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

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

RUN_DEPENDS=	p5-Statistics-CaseResampling>0:math/p5-Statistics-CaseResampling

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.170.170.150.170.17
FreeBSD:14:quarterly0.170.17n/a0.160.17
FreeBSD:15:latest0.170.17n/a0.170.17
FreeBSD:15:quarterly0.170.17n/an/an/a
FreeBSD:16:latest0.170.17n/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.

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Statistics/CaseResampling.pm
  • %%SITE_ARCH%%/auto/Statistics/CaseResampling/CaseResampling.so
  • %%PERL5_MAN3%%/Statistics::CaseResampling.3.gz
distinfo 1
FileSizeSHA256
Statistics-CaseResampling-0.17.tar.gz583256ee66d0eed81882ec4fa48fffe163a04fd98c4d56ac1e8cdc14a9f83bd1839bc
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.