Skip to content

Commit 4856a4c

Browse files
authored
Add sampling
1 parent 944c33c commit 4856a4c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

_posts/2016-10-19-current-environment.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ The library's facilities can be divided into four broad categories:
114114
- Computing with sample data: quantile estimation, kernel density estimation, histograms, bootstrap methods, significance testing, and regression and autocorrelation analysis.
115115
- Random variate generation under several different distributions.
116116
- Common statistical tests for significant differences between samples.
117+
118+
- **sampling** [![Hackage](https://img.shields.io/hackage/v/sampling.svg)](https://hackage.haskell.org/package/sampling) Sampling from arbitrary Foldable collections:
119+
- sample, for sampling without replacement
120+
- resample, for sampling with replacement (i.e., a bootstrap)
121+
Each variation can be prefixed with p to sample from a container of values weighted by probability.
117122
- **foldl-statistics** [](https://github.com/data61/foldl-statistics){:.github} [![Hackage](https://img.shields.io/hackage/v/foldl-statistics.svg)](https://hackage.haskell.org/package/foldl-statistics) [![foldl-statistics](http://stackage.org/package/foldl-statistics/badge/nightly)](http://stackage.org/nightly/package/foldl-statistics) : A reimplementation of the Statistics.Sample module using the foldl package. The intention of this package is to allow these algorithms to be used on a much broader set of data input types, including lists and streaming libraries such as conduit and pipes, and any other type which is Foldable.
118123
All statistics in this package can be computed with no more than two passes over the data - once to compute the mean and once to compute any statistics which require the mean.
119124
- **tdigest** [![Hackage](https://img.shields.io/hackage/v/tdigest.svg)](https://hackage.haskell.org/package/tdigest) [![tdigest](http://stackage.org/package/tdigest/badge/nightly)](http://stackage.org/nightly/package/tdigest) : A new data structure for accurate on-line accumulation of rank-based statistics such as quantiles and trimmed means.

0 commit comments

Comments
 (0)