Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Coeff a = (a, a)
- fac :: Integral a => a -> a
- facStop :: Integral a => a -> a -> a
- p :: Integral a => a -> a -> a
- c :: Integral a => a -> a -> a
- class VecOps v => Statistical v where
- summary :: (Show a, Floating a) => DataFrame a -> IO ()
- describe :: (Show a, Floating a, Ord a) => Vector a -> IO ()
- lm :: Floating a => Vector a -> Vector a -> Coeff a
- lineFit :: Floating a => Coeff a -> Vector a -> Vector a
- rss :: Floating a => Vector a -> Vector a -> a
- rse :: Floating a => Vector a -> Vector a -> a
- sma :: Fractional a => Int -> Vector a -> Vector a
- count :: Eq a => a -> [a] -> Int
Documentation
class VecOps v => Statistical v where Source #
Basic Statistics Class for Vector
mean :: Fractional a => v a -> a Source #
Sample Mean
cov' :: Floating a => v a -> v a -> a Source #
Single Valued covariance
cov :: Floating a => v a -> v a -> Matrix a Source #
Covariance Matrix
var :: Floating a => v a -> a Source #
Sample Variance
std :: Floating a => v a -> a Source #
Sample Standard deviation
se :: Floating a => v a -> a Source #
Standard Error
cor :: Floating a => v a -> v a -> a Source #
Correlation Coefficient
med :: (Ord a, Floating a) => v a -> a Source #
Median
mode :: Eq a => v a -> a Source #
Mode
cv :: Floating a => v a -> a Source #
Coefficient of Variation
moment :: Floating a => a -> v a -> a Source #
Moment
skew :: Floating a => v a -> a Source #
Skewness
skew' :: Floating a => v a -> a Source #
Skewness 2
kurt :: Floating a => v a -> a Source #
kurtosis
lm :: Floating a => Vector a -> Vector a -> Coeff a Source #
Least Square Method - (Intercept, Slope)