Copyright | (c) A. V. H. McPhail 2010 |
---|---|

License | BSD3 |

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

Stability | provisional |

Portability | uses ffi |

Safe Haskell | None |

Language | Haskell2010 |

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_m :: Double -> Vector Double -> Double Source

the sample variance given the precomputed mean

variance_pm :: Double -> Vector Double -> Double Source

the population variance given the a priori mean

stddev_m :: Double -> Vector Double -> Double Source

the sample standard deviation given the precomputed mean

stddev_pm :: Double -> Vector Double -> Double Source

the population standard deviation given the a priori mean

tot_sumsq_m :: Double -> Vector Double -> Double Source

the total sum of squares about the precomputed mean

absdev_m :: Double -> Vector Double -> Double Source

the absolute deviation from the precomputed mean

skew_m_sd :: Double -> Double -> Vector Double -> Double Source

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

kurtosis :: Vector Double -> Double Source

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

kurtosis_m_sd :: Double -> Double -> Vector Double -> Double Source

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 -> Double Source

the weighted sample variance given the precomputed mean

variance_w_pm :: Double -> Vector Double -> Vector Double -> Double Source

the weighted population variance given the a priori mean

stddev_w_m :: Double -> Vector Double -> Vector Double -> Double Source

the weighted sample standard deviation given the precomputed mean

stddev_w_pm :: Double -> Vector Double -> Vector Double -> Double Source

the weighted population standard deviation given the a priori mean

tot_sumsq_w :: Vector Double -> Vector Double -> Double Source

the weighted total sum of squares about the mean

tot_sumsq_w_m :: Double -> Vector Double -> Vector Double -> Double Source

the weighted total sum of squares about the precomputed mean

absdev_w :: Vector Double -> Vector Double -> Double Source

the weighted absolute deviation from the mean

absdev_w_m :: Double -> Vector Double -> Vector Double -> Double Source

the weighted absolute deviation from the precomputed mean

skew_w :: Vector Double -> Vector Double -> Double Source

the weighted skewness of the data (asymmetry of tails)

skew_w_m_sd :: Double -> Double -> Vector Double -> Vector Double -> Double Source

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

kurtosis_w :: Vector Double -> Vector Double -> Double Source

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

kurtosis_w_m_sd :: Double -> Double -> Vector Double -> Vector Double -> Double Source

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

covariance :: Vector Double -> Vector Double -> Double Source

the covariance of two datasets of the same length

covariance_m :: Double -> Double -> Vector Double -> Vector Double -> Double Source

the covariance of two datasets of the same length