statistics: A library of statistical types, data, and functions
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 regression and autocorrelation analysis. . * Random variate generation under several different distributions. . * Common statistical tests for significant differences between samples.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Statistics
- Statistics.Autocorrelation
- Statistics.ConfidenceInt
- Statistics.Correlation
- Statistics.Distribution
- Statistics.Distribution.Beta
- Statistics.Distribution.Binomial
- Statistics.Distribution.CauchyLorentz
- Statistics.Distribution.ChiSquared
- Statistics.Distribution.DiscreteUniform
- Statistics.Distribution.Exponential
- Statistics.Distribution.FDistribution
- Statistics.Distribution.Gamma
- Statistics.Distribution.Geometric
- Statistics.Distribution.Hypergeometric
- Statistics.Distribution.Laplace
- Statistics.Distribution.Lognormal
- Statistics.Distribution.NegativeBinomial
- Statistics.Distribution.Normal
- Statistics.Distribution.Poisson
- Statistics.Distribution.StudentT
- Statistics.Distribution.Transform
- Statistics.Distribution.Uniform
- Statistics.Distribution.Weibull
- Statistics.Function
- Statistics.Quantile
- Statistics.Regression
- Statistics.Resampling
- Statistics.Sample
- Test
- Statistics.Transform
- Statistics.Types
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| benchpapi | Enable building of benchmarks which use instruction counters. It requires libpapi and only works on Linux so it's protected by flag | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- statistics-0.16.4.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.5.0.0, 0.5.1.0, 0.5.1.1, 0.5.1.2, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.7.0.0, 0.8.0.0, 0.8.0.1, 0.8.0.2, 0.8.0.3, 0.8.0.4, 0.8.0.5, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.10.1.0, 0.10.2.0, 0.10.3.0, 0.10.3.1, 0.10.4.0, 0.10.4.1, 0.10.5.0, 0.10.5.1, 0.10.5.2, 0.11.0.0, 0.11.0.1, 0.11.0.2, 0.11.0.3, 0.12.0.0, 0.13.1.0, 0.13.1.1, 0.13.2.0, 0.13.2.1, 0.13.2.2, 0.13.2.3, 0.13.3.0, 0.14.0.0, 0.14.0.1, 0.14.0.2, 0.15.0.0, 0.15.1.0, 0.15.1.1, 0.15.2.0, 0.16.0.0, 0.16.0.1, 0.16.0.2, 0.16.1.0, 0.16.1.1, 0.16.1.2, 0.16.2.0, 0.16.2.1, 0.16.3.0, 0.16.4.0 (info) |
|---|---|
| Change log | changelog.md |
| Dependencies | aeson (>=0.6.0.0), async (>=2.2.2 && <2.3), base (>=4.9 && <5), binary (>=0.5.1.0), data-default-class (>=0.1.2), deepseq (>=1.1.0.2), dense-linear-algebra (>=0.1 && <0.2), ghc-prim , math-functions (>=0.3.4.1), mwc-random (>=0.15.0.0), parallel (>=3.2.2.0 && <3.4), primitive (>=0.3), random (>=1.2), vector (>=0.10), vector-algorithms (>=0.4), vector-binary-instances (>=0.2.1), vector-th-unbox [details] |
| Tested with | ghc ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.2 || ==9.12.2 |
| License | BSD-2-Clause |
| Copyright | 2009-2014 Bryan O'Sullivan |
| Author | Bryan O'Sullivan <bos@serpentine.com>, Alexey Khudaykov <alexey.skladnoy@gmail.com> |
| Maintainer | Alexey Khudaykov <alexey.skladnoy@gmail.com> |
| Category | Math, Statistics |
| Home page | https://github.com/haskell/statistics |
| Bug tracker | https://github.com/haskell/statistics/issues |
| Source repo | head: git clone https://github.com/haskell/statistics |
| Uploaded | by AlexeyKhudyakov at 2025年10月23日T10:36:46Z |
| Distributions | Arch:0.16.4.0, Debian:0.15.2.0, Fedora:0.16.3.0, FreeBSD:0.13.2.3, LTSHaskell:0.16.4.0, NixOS:0.16.3.0, Stackage:0.16.4.0 |
| Reverse Dependencies | 66 direct, 3725 indirect [details] |
| Downloads | 122904 total (173 in the last 30 days) |
| Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2025年10月23日 [all 1 reports] |
Readme for statistics-0.16.4.0
[back to package description]Statistics: efficient, general purpose statistics
This package provides the Statistics module, a Haskell library for working with statistical data in a space- and time-efficient way.
Where possible, we give citations and computational complexity estimates for the algorithms used.
Performance
This library has been carefully optimised for high performance. To obtain the best runtime efficiency, it is imperative to compile libraries and applications that use this library using a high level of optimisation.
Get involved!
Please report bugs via the github issue tracker.
Master git mirror:
git clone git://github.com/haskell/statistics.git
Authors
This library is written and maintained by Bryan O'Sullivan, bos@serpentine.com.