Created
July 28, 2009 09:23
-
-
Save al3xandr3/157038 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
;; 5 samples => 2.9595399991095066 | |
(mean (for [_ (range 10000)] (abs (- (mean weights) (mean (sample weights :size 5)))))) | |
;; 10 samples => 2.0840500000983475 | |
(mean (for [_ (range 10000)] (abs (- (mean weights) (mean (sample weights :size 10)))))) | |
;; 40 samples => 1.0537100001504645 | |
(mean (for [_ (range 10000)] (abs (- (mean weights) (mean (sample weights :size 40)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment