random-fu-0.2.7.7: Random number generation

Data.Random.Distribution.Poisson

Synopsis

# Documentation

integralPoissonPDF :: (Integral a, Real b) => b -> a -> Double Source #

The probability of getting exactly k successes is given by the probability mass function:

$f(k;\lambda) = \Pr(X = k) = \frac{\lambda^k e^{-\lambda}}{k!}$

Note that in integralPoissonPDF the parameter of the mass function are given first and the range of the random variable distributed according to the Poisson distribution is given last. That is, $$f(2;0.5)$$ is calculated by integralPoissonPDF 0.5 2.

poissonT :: Distribution (Poisson b) a => b -> RVarT m a Source #

newtype Poisson b a Source #

Constructors

 Poisson b
Instances
 (Real b, Distribution (Poisson b) Integer) => CDF (Poisson b) Integer Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int) => CDF (Poisson b) Int Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int8) => CDF (Poisson b) Int8 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int16) => CDF (Poisson b) Int16 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int32) => CDF (Poisson b) Int32 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int64) => CDF (Poisson b) Int64 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word) => CDF (Poisson b) Word Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word8) => CDF (Poisson b) Word8 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word16) => CDF (Poisson b) Word16 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word32) => CDF (Poisson b) Word32 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word64) => CDF (Poisson b) Word64 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods CDF (Poisson b) Integer => CDF (Poisson b) Float Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Integer) => PDF (Poisson b) Integer Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int) => PDF (Poisson b) Int Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int8) => PDF (Poisson b) Int8 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int16) => PDF (Poisson b) Int16 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int32) => PDF (Poisson b) Int32 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Int64) => PDF (Poisson b) Int64 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word) => PDF (Poisson b) Word Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word8) => PDF (Poisson b) Word8 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word16) => PDF (Poisson b) Word16 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word32) => PDF (Poisson b) Word32 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods (Real b, Distribution (Poisson b) Word64) => PDF (Poisson b) Word64 Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods PDF (Poisson b) Integer => PDF (Poisson b) Float Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods Source # Instance detailsDefined in Data.Random.Distribution.Poisson Methods