Copyright | Predictable Network Solutions Ltd. 2020-2024 |
---|---|
License | BSD-3-Clause |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Numeric.Probability.Moments
Description
Documentation
The first four commonly used moments of a probability distribution.
Constructors
Moments | |
Fields
|
fromExpectedPowers :: (Ord a, Num a, Fractional a) => (a, a, a, a) -> Moments a Source #
Compute the Moments
of a probability distribution given
the expectation values of the first four powers \( m_k = E[X^k] \).
fromExpectedPowers (m1,m2,m3,m4)