Returns a sample of the given size from a Normal distribution
This is equivalent to R's rnorm function.
Options:
:mean (default 0)
:sd (default 1)
See also:
pdf-normal, cdf-normal, quantile-normal
References:
http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/Normal.html
http://en.wikipedia.org/wiki/Normal_distribution
Example:
(sample-normal 1000 :mean -2 :sd (sqrt 0.5))
Comments top
No comments for sample-normal. Log in to add a comment.