statistics-0.14.0.0: A library of statistical types, data, and functions

Statistics.Distribution.Hypergeometric

Contents

Description

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).

Synopsis

# Documentation

Instances

 Source # Methods Source # Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HypergeometricDistribution -> c HypergeometricDistribution #gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HypergeometricDistribution #dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HypergeometricDistribution) #dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HypergeometricDistribution) #gmapT :: (forall b. Data b => b -> b) -> HypergeometricDistribution -> HypergeometricDistribution #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HypergeometricDistribution -> r #gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HypergeometricDistribution -> r #gmapQ :: (forall d. Data d => d -> u) -> HypergeometricDistribution -> [u] #gmapQi :: Int -> (forall d. Data d => d -> u) -> HypergeometricDistribution -> u #gmapM :: Monad m => (forall d. Data d => d -> m d) -> HypergeometricDistribution -> m HypergeometricDistribution #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HypergeometricDistribution -> m HypergeometricDistribution #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HypergeometricDistribution -> m HypergeometricDistribution # Source # Source # Methods Source # Associated Typestype Rep HypergeometricDistribution :: * -> * # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # Methods Source # type Rep HypergeometricDistribution = D1 (MetaData "HypergeometricDistribution" "Statistics.Distribution.Hypergeometric" "statistics-0.14.0.0-9xPMo3QbnR7BEP0FkvUcUB" False) (C1 (MetaCons "HD" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "hdM") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "hdL") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "hdK") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Int)))))

# Constructors

Arguments

 :: Int m -> Int l -> Int k -> HypergeometricDistribution

Arguments

 :: Int m -> Int l -> Int k -> Maybe HypergeometricDistribution