Safe Haskell | Safe |
---|---|
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
- 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
Documentation
class VecOps v => Statistical v where Source #
Basic Statistics Class for Vector
mean :: Fractional a => v a -> a Source #
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 #
std :: Floating a => v a -> a Source #
cor :: Floating a => v a -> v a -> a Source #
Correlation Coefficient
lm :: Floating a => Vector a -> Vector a -> Coeff a Source #
Least Square Method - (Intercept, Slope)