Created
April 20, 2009 19:09
-
-
Save liebke/98680 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use '(incanter core stats charts io)) | |
;; make a histogram of a sample of 1000 Gamma deviates | |
(doto (histogram (sample-gamma 1000 :shape 1 :rate 2) | |
:title "Gamma Histogram") | |
view | |
clear-background | |
(save "/tmp/gamma_hist.png")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment