1.2.3-SNAPSHOT Arrow_down_16x16

normal-distribution

incanter.distributions

  • (normal-distribution)
  • (normal-distribution mean sd)

Returns a Normal distribution that implements the
incanter.distributions.Distribution protocol.

Arguments:
mean The mean of the distribution. One of two parameters
that summarize the Normal distribution (default 0).
sd The standard deviation of the distribution.
The second parameter that describes the Normal (default 1).

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

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

Example:
(pdf (normal-distribution -2 (sqrt 0.5)) 1.96)

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

(defn normal-distribution
"
	Returns a Normal distribution that implements the
  incanter.distributions.Distribution protocol.

	Arguments:
		mean	The mean of the distribution. One of two parameters
					that summarize the Normal distribution (default 0).
		sd		The standard deviation of the distribution.
				 	The second parameter that describes the Normal (default 1).

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

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

  Example:
      (pdf (normal-distribution -2 (sqrt 0.5)) 1.96)
"
	([] (normal-distribution 0 1))
  ([mean sd] (Normal. mean sd (DoubleMersenneTwister.))))
Vars in incanter.distributions/normal-distribution: defn
Used in 0 other vars

Comments top

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