You are looking at historical revision 20599 of this page. It
may differ significantly from its current revision. Still under
testing! This library is a port of Larry Hunter's Lisp
statistics library to chicken scheme. The library provides a
number of formulae and methods taken from the book "Fundamentals
of Biostatistics" by Bernard Rosner (5th edition). The Binomial
distribution is what you get from counting discrete events in a
series of trials, each of which events has a probability p of
producing a positive outcome. An example would be tossing a coin
n times: the probability of a head is p, and the distribution
gives the expected number of heads in the n trials.
Utilities[procedure] (average-rank value sorted-values) returns
the average position of given value in the list of sorted
values: the rank is based from 1. > (average-rank 2 '(1 2 2 3
4)) 5/2[procedure] (beta-incomplete x a b) [procedure] (bin-and-
count items n) Divides the range of the list of items into n
bins, and returns a vector of the numbe