1.2.3-SNAPSHOT permalink Arrow_down_16x16

beta-distribution

incanter.distributions

  • (beta-distribution)
  • (beta-distribution alpha beta)
Returns a Beta distribution that implements the incanter.distributions.Distribution protocol.

Arguments:
alpha (default 1)
beta (default 1)

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

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

Example:
(pdf (beta-distribution 1 2) 0.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:389 top

(defn beta-distribution
  "Returns a Beta distribution that implements the incanter.distributions.Distribution protocol.

  Arguments:
    alpha      (default 1)
    beta       (default 1)

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

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

  Example:
    (pdf (beta-distribution 1 2) 0.5)"
  ([] (beta-distribution 1 1))
  ([alpha beta] (Beta. alpha beta (DoubleMersenneTwister.))))
Vars in incanter.distributions/beta-distribution: defn
Used in 0 other vars

Comments top

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