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

Copyright(c) 2009 Bryan O'Sullivan
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

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

data HypergeometricDistribution Source #

Instances

Eq HypergeometricDistribution Source # 
Data HypergeometricDistribution Source # 

Methods

gfoldl :: (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 #

toConstr :: HypergeometricDistribution -> Constr #

dataTypeOf :: HypergeometricDistribution -> DataType #

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 #

Read HypergeometricDistribution Source # 
Show HypergeometricDistribution Source # 
Generic HypergeometricDistribution Source # 
ToJSON HypergeometricDistribution Source # 
FromJSON HypergeometricDistribution Source # 
Binary HypergeometricDistribution Source # 
Entropy HypergeometricDistribution Source # 
MaybeEntropy HypergeometricDistribution Source # 
Variance HypergeometricDistribution Source # 
MaybeVariance HypergeometricDistribution Source # 
Mean HypergeometricDistribution Source # 
MaybeMean HypergeometricDistribution Source # 
DiscreteDistr HypergeometricDistribution Source # 
Distribution HypergeometricDistribution Source # 
type Rep HypergeometricDistribution Source # 
type Rep HypergeometricDistribution = D1 (MetaData "HypergeometricDistribution" "Statistics.Distribution.Hypergeometric" "statistics-0.14.0.2-9wDz1lVU92ZDJSrAe5uHzb" 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

Accessors