Returns a sample of the given size from a Chi Square distribution
Same as R's rchisq function.
Options:
:df (default 1)
See also:
pdf-chisq and cdf-chisq
References:
http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/ChiSquare.html
http://en.wikipedia.org/wiki/Chi_square_distribution
Example:
(sample-chisq 1000 :df 2)
Comments top
No comments for sample-chisq. Log in to add a comment.