BSD Ports

math/p5-Statistics-CaseResampling 0.17 MidnightBSD

Efficient resampling and median confidence intervals

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
math, perl5

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
MidnightBSDmath/p5-Statistics-CaseResampling0.17
FreeBSDmath/p5-Statistics-CaseResampling0.17
OpenBSDmath/p5-Statistics-CaseResampling0.18
NetBSDmath/p5-Statistics-CaseResampling0.16nb1
DragonFlymath/p5-Statistics-CaseResampling0.15
HardenedBSDmath/p5-Statistics-CaseResampling0.17
GhostBSDmath/p5-Statistics-CaseResampling0.17

Install

Binary package:

mport install p5-Statistics-CaseResampling

From mports:

cd /usr/mports/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

Dependencies

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