statistics-hypergeometric-genvar-0.1.0.0: Random variate generation from hypergeometric distributions

Copyright(c) 2015 Sam Rijs (c) 2005 Robert Kern (c) 1998 Ivan Frohne
LicenseMIT
Maintainersrijs@airpost.net
Stabilityexperimental
Safe HaskellTrustworthy
LanguageHaskell2010

Statistics.Distribution.Hypergeometric.GenVar

Description

 

Synopsis

Documentation

genVar :: (PrimMonad m, Integral a) => (a, a, a) -> Gen (PrimState m) -> m a Source

Random variates from the hypergeometric distribution (m, l, k). Returns the number of white balls drawn when k balls are drawn at random from an urn containing m white and l-m black balls.