## Summary

This library provides a number of common functions and types useful in statistics. We focus on high performance, numerical robustness, and use of good algorithms. Where possible, we provide references to the statistical literature. The library's facilities can be divided into four broad categories: * Working with widely used discrete and continuous probability distributions. (There are dozens of exotic distributions in use; we focus on the most common.) * Computing with sample data: quantile estimation, kernel density estimation, histograms, bootstrap methods, significance testing, and autocorrelation analysis. * Random variate generation under several different distributions. * Common statistical tests for significant differences between samples. Changes in 0.10.0.0: * The type classes @Mean@ and @Variance@ are split in two. This is required for distributions which do not have finite variance or mean. * The @S.Sample.KernelDensity@ module has been renamed, and completely rewritten to be much more robust. The older module oversmoothed multi-modal data. (The older module is still available under the name @S.Sample.KernelDensity.Simple@). * Histogram computation is added, in @S.Sample.Histogram@. * Forward and inverse discrete Fourier and cosine transforms are added, in @S.Transform@. * Root finding is added, in @S.Math.RootFinding@. * The @complCumulative@ function is added to the @Distribution@ class in order to accurately assess probalities P(X>x) which are used in one-tailed tests. * A @stdDev@ function is added to the @Variance@ class for distributions. * The constructor @S.Distribution.normalDistr@ now takes standard deviation instead of variance as its parameter. * A bug in @S.Quantile.weightedAvg@ is fixed. It produced a wrong answer if a sample contained only one element. * Bugs in quantile estimations for chi-square and gamma distribution are fixed. * Integer overlow in @mannWhitneyUCriticalValue@ is fixed. It produced incorrect critical values for moderately large samples. Something around 20 for 32-bit machines and 40 for 64-bit ones. * A bug in @mannWhitneyUSignificant@ is fixed. If either sample was larger than 20, it produced a completely incorrect answer. * One- and two-tailed tests in @S.Tests.NonParametric@ are selected with sum types instead of @Bool@. * Test results returned as enumeration instead of @Bool@. * Performance improvements for Mann-Whitney U and Wilcoxon tests. * Module @S.Tests.NonParamtric@ is split into @S.Tests.MannWhitneyU@ and @S.Tests.WilcoxonT@ * @sortBy@ is added to @S.Function@. * Mean and variance for gamma distribution are fixed. * Much faster cumulative probablity functions for Poisson and hypergeometric distributions. * Better density functions for gamma and Poisson distributions. * Student-T, Fisher-Snedecor F-distributions and Cauchy-Lorentz distrbution are added. * The function @S.Function.create@ is removed. Use @generateM@ from the @vector@ package instead. * Function to perform approximate comparion of doubles is added to @S.Function.Comparison@ * Regularized incomplete beta function and its inverse are added to @S.Function@.

## Versions

v0.15.2.0 :: 0/0.15.2.0 :: gentoo

- Modified
- License
- BSD-2
- Keywords
- amd64 ~arm64 ~ppc64 ~riscv ~x86
- USE flags
- doc hscolour profile test

## USE flags

### General

- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- hscolour
- Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
- profile
- Add support for software performance analysis (will likely vary from ebuild to ebuild)
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

## Dependencies

dev-haskell / aeson : Fast JSON parsing and encoding

dev-haskell / async : Run IO operations asynchronously and wait for their results

dev-haskell / base-orphans : Backwards-compatible orphan instances for base

dev-haskell / cabal : A framework for packaging Haskell software

dev-haskell / data-default-class : A class for types with a default value

dev-haskell / dense-linear-algebra : Simple and incomplete pure haskell implementation of linear algebra

dev-haskell / erf : The error function, erf, and related functions

dev-haskell / hscolour : Colourise Haskell code

dev-haskell / ieee754 : Utilities for dealing with IEEE floating point numbers

dev-haskell / math-functions : Special functions and Chebyshev polynomials

dev-haskell / monad-par : A library for parallel programming based on a monad

dev-haskell / mwc-random : Fast, high quality pseudo random number generation

dev-haskell / primitive : Primitive memory-related operations

dev-haskell / quickcheck : Automatic testing of Haskell programs

dev-haskell / tasty : Modern and extensible testing framework

dev-haskell / tasty-expected-failure : Mark tasty tests as failure expected

dev-haskell / tasty-hunit : HUnit support for the Tasty test framework

dev-haskell / tasty-quickcheck : QuickCheck support for the Tasty test framework

dev-haskell / vector : Efficient Arrays

dev-haskell / vector-algorithms : Efficient algorithms for vector arrays

dev-haskell / vector-binary-instances : Instances of Data.Binary and Data.Serialize for vector

dev-haskell / vector-th-unbox : Deriver for Data.Vector.Unboxed using Template Haskell

## Runtime Dependencies

dev-haskell / aeson : Fast JSON parsing and encoding

dev-haskell / async : Run IO operations asynchronously and wait for their results

dev-haskell / base-orphans : Backwards-compatible orphan instances for base

dev-haskell / data-default-class : A class for types with a default value

dev-haskell / dense-linear-algebra : Simple and incomplete pure haskell implementation of linear algebra

dev-haskell / math-functions : Special functions and Chebyshev polynomials

dev-haskell / monad-par : A library for parallel programming based on a monad

dev-haskell / mwc-random : Fast, high quality pseudo random number generation

dev-haskell / primitive : Primitive memory-related operations

dev-haskell / vector : Efficient Arrays

dev-haskell / vector-algorithms : Efficient algorithms for vector arrays

dev-haskell / vector-binary-instances : Instances of Data.Binary and Data.Serialize for vector

dev-haskell / vector-th-unbox : Deriver for Data.Vector.Unboxed using Template Haskell

## Depending packages

dev-haskell / criterion : Robust, reliable performance measurement and analysis

## Change logs

- Repository mirror & CI · gentoo

Merge updates from master - hololeap · gentoo

dev-haskell/statistics: Stabilize for amd64

Signed-off-by: hololeap <hololeap@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo

Merge updates from master - matoro · gentoo

dev-haskell/statistics: keyword 0.15.2.0 for ~riscv

Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo

Merge updates from master - matoro · gentoo

dev-haskell/statistics: keyword 0.15.2.0 for ~arm64

Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo

Merge updates from master - matoro · gentoo

dev-haskell/statistics: keyword 0.15.2.0 for ~ppc64

Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo

Merge updates from master - Sergei Trofimovich · gentoo

dev-haskell/statistics: drop old

Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo

Merge updates from master - Sergei Trofimovich · gentoo

dev-haskell/statistics: bump up to 0.15.2.0

Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo

Merge updates from master - Michał Górny · gentoo

*/*: Inline mirror://hackage and update URIs

This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@https://hackage.haskell.org/@g' \ -e 's@https://hackage.haskell.org/packages/archive/([^/]*)/([^/]*)/@https://hackage.haskell.org/package/\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <mgorny@gentoo.org> - Robin H. Johnson · gentoo

Drop $Id$ per council decision in bug #611234.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - T. Malfatti · gentoo

media-libs/portaudio: Version bump - Sergei Trofimovich · gentoo

dev-haskell/statistics: bump up to 0.13.3.0

Package-Manager: portage-2.3.2 - Robin H. Johnson · gentoo

proj/gentoo: Initial commit

This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed