home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / basic / math.ark / BINOMIAL.DOC < prev    next >
Encoding:
Text File  |  1986-12-21  |  1.1 KB  |  23 lines

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