Copyright | (c) 2009 Bryan O'Sullivan |
---|---|
License | BSD3 |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
The Hypergeometric distribution. This is the discrete probability distribution that measures the probability of k successes in l trials, without replacement, from a finite population.
The parameters of the distribution describe k elements chosen from a population of l, with m elements of one type, and l-m of the other (all are positive integers).
- data HypergeometricDistribution
- hypergeometric :: Int -> Int -> Int -> HypergeometricDistribution
- hypergeometricE :: Int -> Int -> Int -> Maybe HypergeometricDistribution
- hdM :: HypergeometricDistribution -> Int
- hdL :: HypergeometricDistribution -> Int
- hdK :: HypergeometricDistribution -> Int
Documentation
data HypergeometricDistribution Source #
Constructors
:: Int | m |
-> Int | l |
-> Int | k |
-> HypergeometricDistribution |
:: Int | m |
-> Int | l |
-> Int | k |
-> Maybe HypergeometricDistribution |
Accessors
hdM :: HypergeometricDistribution -> Int Source #
hdL :: HypergeometricDistribution -> Int Source #
hdK :: HypergeometricDistribution -> Int Source #