1.2.3-SNAPSHOT permalink Arrow_down_16x16

poisson-distribution

incanter.distributions

  • (poisson-distribution)
  • (poisson-distribution lambda)
Returns a Poisson distribution that implements the incanter.distributions.Distribution protocol.

Arguments:
lambda (default 1)

See also:
Distribution, pdf, cdf, draw, support

References:
http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/Poisson.html
http://en.wikipedia.org/wiki/Poisson_distribution

Example:
(pdf (poisson-distribution 10) 5)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/distributions.clj:548 top

(defn poisson-distribution
  "Returns a Poisson distribution that implements the incanter.distributions.Distribution protocol.

  Arguments:
    lambda     (default 1)

  See also:
    Distribution, pdf, cdf, draw, support

  References:
    http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/Poisson.html
    http://en.wikipedia.org/wiki/Poisson_distribution

  Example:
    (pdf (poisson-distribution 10) 5)"
  ([] (poisson-distribution 1))
  ([lambda] (Poisson. lambda (DoubleMersenneTwister.))))
Vars in incanter.distributions/poisson-distribution: defn
Used in 0 other vars

Comments top

No comments for poisson-distribution. Log in to add a comment.