hstatistics-0.2.2.8: Statistics

Portabilityportable
Stabilityprovisional
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com

Numeric.Statistics

Description

Useful statistical functions

Synopsis

Documentation

type Sample a = Vector aSource

covarianceMatrixSource

Arguments

:: Samples Double

the dimensions of data (each vector being one dimension)

-> Matrix Double

the symmetric covariance matrix

the covariance matrix

meanList :: (Container Vector a, Num (Vector a)) => [Sample a] -> Sample aSource

the mean of a list of vectors

meanArray :: (Container Vector a, Num (Vector a)) => Samples a -> Sample aSource

the mean of an array of vectors

meanMatrix :: (Container Vector a, Num (Vector a), Element a) => Matrix a -> Sample aSource

the mean of a matrix with data series in rows

varianceList :: (Container Vector a, Floating (Vector a)) => [Sample a] -> Sample aSource

the variance of a list of vectors

varianceArray :: (Container Vector a, Floating (Vector a)) => Samples a -> Sample aSource

the variance of an array of vectors

varianceMatrix :: (Container Vector a, Floating (Vector a), Element a) => Matrix a -> Sample aSource

the variance of a matrix with data series in rows