Copyright | (c) Daniel Lovasko 2016 |
---|---|
License | OtherLicense |
Maintainer | Daniel Lovasko <daniel.lovasko@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Stats.Foldable is a pure Haskell module that implements a safe interface to a set of basic numerical statistics that only assume the Foldable typeclass for the underlying container.
- amean :: (Foldable f, Floating a) => f a -> Maybe a
- min :: (Foldable f, Ord a) => f a -> Maybe a
- max :: (Foldable f, Ord a) => f a -> Maybe a
- var :: (Foldable f, Floating a) => f a -> Maybe a
- stddev :: (Foldable f, Floating a) => f a -> Maybe a
- covar :: (Foldable f, Floating a) => f a -> f a -> Maybe a
- correl :: (Foldable f, Floating a) => f a -> f a -> Maybe a
Documentation
Compute the arithmetic mean of a population.
Find the minimal value of a series.
Find the maximal value of a population.
Compute the variance of a population.
Compute the standard deviation of a population.
Compute the covariance of two populations.