Portability | uses ffi |
---|---|

Stability | provisional |

Maintainer | haskell.vivian.mcphail <at> gmail <dot> com |

Safe Haskell | Safe-Infered |

GSL statistics functions

- mean :: Vector Double -> Double
- variance :: Vector Double -> Double
- variance_m :: Double -> Vector Double -> Double
- variance_pm :: Double -> Vector Double -> Double
- stddev :: Vector Double -> Double
- stddev_m :: Double -> Vector Double -> Double
- stddev_pm :: Double -> Vector Double -> Double
- tot_sumsq :: Vector Double -> Double
- tot_sumsq_m :: Double -> Vector Double -> Double
- absdev :: Vector Double -> Double
- absdev_m :: Double -> Vector Double -> Double
- skew :: Vector Double -> Double
- skew_m_sd :: Double -> Double -> Vector Double -> Double
- kurtosis :: Vector Double -> Double
- kurtosis_m_sd :: Double -> Double -> Vector Double -> Double
- mean_w :: Vector Double -> Vector Double -> Double
- variance_w :: Vector Double -> Vector Double -> Double
- variance_w_m :: Double -> Vector Double -> Vector Double -> Double
- variance_w_pm :: Double -> Vector Double -> Vector Double -> Double
- stddev_w :: Vector Double -> Vector Double -> Double
- stddev_w_m :: Double -> Vector Double -> Vector Double -> Double
- stddev_w_pm :: Double -> Vector Double -> Vector Double -> Double
- tot_sumsq_w :: Vector Double -> Vector Double -> Double
- tot_sumsq_w_m :: Double -> Vector Double -> Vector Double -> Double
- absdev_w :: Vector Double -> Vector Double -> Double
- absdev_w_m :: Double -> Vector Double -> Vector Double -> Double
- skew_w :: Vector Double -> Vector Double -> Double
- skew_w_m_sd :: Double -> Double -> Vector Double -> Vector Double -> Double
- kurtosis_w :: Vector Double -> Vector Double -> Double
- kurtosis_w_m_sd :: Double -> Double -> Vector Double -> Vector Double -> Double
- lag1auto :: Vector Double -> Double
- covariance :: Vector Double -> Vector Double -> Double
- covariance_m :: Double -> Double -> Vector Double -> Vector Double -> Double
- correlation :: Vector Double -> Vector Double -> Double
- median :: Vector Double -> Double
- quantile :: Double -> Vector Double -> Double

# Documentation

variance_pm :: Double -> Vector Double -> DoubleSource

the population variance given the a priori mean

stddev_m :: Double -> Vector Double -> DoubleSource

the sample standard deviation given the precomputed mean

stddev_pm :: Double -> Vector Double -> DoubleSource

the population standard deviation given the a priori mean

tot_sumsq_m :: Double -> Vector Double -> DoubleSource

the total sum of squares about the precomputed mean

skew_m_sd :: Double -> Double -> Vector Double -> DoubleSource

the skewness of the data (asymmetry of tails) with precomputed mean and sd

kurtosis :: Vector Double -> DoubleSource

the kurtosis of the data (sharpness of peak relative to width)

kurtosis_m_sd :: Double -> Double -> Vector Double -> DoubleSource

the kurtosis of the data (sharpness of peak relative to width) with precomputed mean and sd

the weighted mean of the elements of a vector

variance_w_m :: Double -> Vector Double -> Vector Double -> DoubleSource

the weighted sample variance given the precomputed mean

variance_w_pm :: Double -> Vector Double -> Vector Double -> DoubleSource

the weighted population variance given the a priori mean

stddev_w_m :: Double -> Vector Double -> Vector Double -> DoubleSource

the weighted sample standard deviation given the precomputed mean

stddev_w_pm :: Double -> Vector Double -> Vector Double -> DoubleSource

the weighted population standard deviation given the a priori mean

tot_sumsq_w :: Vector Double -> Vector Double -> DoubleSource

the weighted total sum of squares about the mean

tot_sumsq_w_m :: Double -> Vector Double -> Vector Double -> DoubleSource

the weighted total sum of squares about the precomputed mean

absdev_w :: Vector Double -> Vector Double -> DoubleSource

the weighted absolute deviation from the mean

absdev_w_m :: Double -> Vector Double -> Vector Double -> DoubleSource

the weighted absolute deviation from the precomputed mean

skew_w :: Vector Double -> Vector Double -> DoubleSource

the weighted skewness of the data (asymmetry of tails)

skew_w_m_sd :: Double -> Double -> Vector Double -> Vector Double -> DoubleSource

the weighted skewness of the data (asymmetry of tails) with precomputed mean and sd

kurtosis_w :: Vector Double -> Vector Double -> DoubleSource

the weighted kurtosis of the data (sharpness of peak relative to width)

kurtosis_w_m_sd :: Double -> Double -> Vector Double -> Vector Double -> DoubleSource

the weighted kurtosis of the data (sharpness of peak relative to width) with precomputed mean and sd

covariance :: Vector Double -> Vector Double -> DoubleSource

the covariance of two datasets of the same length

covariance_m :: Double -> Double -> Vector Double -> Vector Double -> DoubleSource

the covariance of two datasets of the same length