statistics-0.8.0.0: A library of statistical types, data, and functions

Statistics.Types

Description

Types for working with statistics.

Synopsis

type Estimator = Sample -> DoubleSource

A function that estimates a property of a sample, such as its mean.

mean

type Sample = Vector DoubleSource

Sample data.

type WeightedSample = Vector (Double, Double)Source

Sample with weights. First element of sample is data, second is weight

type Weights = Vector DoubleSource

Weights for affecting the importance of elements of a sample.