Changeset 20599 in project for wiki/eggref/4/statistics


Ignore:
Timestamp:
10/03/10 02:52:56 (10 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [86.129.208.150]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/statistics

    r20598 r20599  
    120120returns the probability that the number of positive outcomes for a binomial distribution B(n, p) is k.
    121121 > (do-ec (: i 0 11)
    122                  (format #t "i = ~d P = ~f~&" i (binomial-probability 10 i 0.5)))
     122          (format #t "i = ~d P = ~f~&" i (binomial-probability 10 i 0.5)))
    123123 i = 0 P = 0.0009765625
    124124 i = 1 P = 0.009765625
     
    136136returns the probability that less than {{k}} positive outcomes occur for a binomial distribution B(n, p).
    137137 > (do-ec (: i 0 11)
    138                  (format #t "i = ~d P = ~f~&" i (binomial-cumulative-probability 10 i 0.5)))
     138          (format #t "i = ~d P = ~f~&" i (binomial-cumulative-probability 10 i 0.5)))
    139139 i = 0 P = 0.0
    140140 i = 1 P = 0.0009765625
Note: See TracChangeset for help on using the changeset viewer.