1.2.3-SNAPSHOT Arrow_down_16x16

gamma-distribution

incanter.distributions

  • (gamma-distribution)
  • (gamma-distribution shape rate)
Returns a Gamma distribution that implements the incanter.distributions.Distribution protocol.

Arguments:
shape (default 1)
rate (default 1)

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

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

Example:
(pdf (gamma-distribution 1 2) 10)

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:508 top

(defn gamma-distribution
  "Returns a Gamma distribution that implements the incanter.distributions.Distribution protocol.

  Arguments:
    shape      (default 1)
    rate       (default 1)

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

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

  Example:
    (pdf (gamma-distribution 1 2) 10)"
  ([] (gamma-distribution 1 1))
  ([shape rate] (Gamma-rec. shape rate)))
Vars in incanter.distributions/gamma-distribution: defn
Used in 0 other vars

Comments top

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