(defun bootstrap (statistics data b) (if (= b 0) ( ) (cons (funcall statistics (sample data (length data) t)) (bootstrap statistics data (-b 1 )))))