home *** CD-ROM | disk | FTP | other *** search
- Binomial.* is an S-Baisc program which computes the Binomial
- Distribution probability of N tries, R successes with a
- probablity of success of Theta per try. It is good for the
- extended range. The number of good digits is 5 - #of numerals in
- the characteristic of Logprob - #of digits in R. It works by
- adding and subtracting logarithms and thus is good beyond the
- normal range of the S-Basic language. For instance if we start
- with 134 tries with 23 successes with a probability of success
- per try of .00512, we receive a logprob of -27.29354453793 and a
- probability of 5.09E-28. Using other methods the computer would
- signal an overflow. The precission of this program can be
- extended by using a double precission log function. The same
- result can be obtained by using Nevada Basic with 12 digit
- precission. This Program was written by:
-
- Michael P Finerty
- 2358 E Parkside Drive
- Tucson Ariz.,85713
-
- A Nevada Basic 12 digit version appears on this disk under the
- name of BINPROBS.BAS.es the Binomial
- Distribution probability of N tries, R successes with a
- probablit