Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37490022
en ru br
ALT Linux repos
S:0.15-alt5.1

Group :: Development/Perl
RPM: perl-Statistics-CaseResampling

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

## SPEC file for Perl module Statistics::CaseResampling

%define real_name Statistics-CaseResampling

Name: perl-Statistics-CaseResampling
Version: 0.15
Release: alt5

Summary: Perl module for resampling and calculation of medians with confidence intervals

License: %perl_license
Group: Development/Perl

URL: https://metacpan.org/release/Statistics-CaseResampling

Packager: Nikolay A. Fetisov <naf at altlinux.org>

Source: %real_name-%version.tar

BuildRequires(pre): perl-devel rpm-build-licenses

# Automatically added by buildreq on Fri Aug 17 2018

# optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 libcrypt-devel perl perl-CPAN-Meta-Requirements perl-Encode perl-JSON-PP perl-Parse-CPAN-Meta perl-devel perl-parent python-base python-modules python3 python3-base python3-dev ruby sh3
BuildRequires: perl-CPAN-Meta

%description
Perl module Statistics::CaseResampling provides a way 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)).

%prep
%setup -q -n %real_name-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes
%perl_vendor_archlib/Statistics/CaseResampling*
%perl_vendor_autolib/Statistics/CaseResampling*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin