Comparing distributions
| Binomial | Geometric | Poisson | |
| written | X~B(n,p) | X~G(p) | X~Po{λ) |
| fixed number of independent trials | Number of trials until success | Number of arrivals in a fixed period | |
| E(x) | np | 1/p | λ |
| V(x) | np(1-p) | (1-p)/p2| λ | |
| Calculate in Excel | BINOMDIST(r,n,p,cum) | POISSON(r,λ,cum) |
The Excel functions have a parameter cumulative which is true if you want a cumulative distribution. This is P(X≤r), which is usually more useful than P(X=r).
There is no function for the geometric distribution. The probability is:
-mathformula2 not MarkupType-
Fatal error: Uncaught Error: Call to undefined method mathformula2::makeTypeDef() in /var/www/vhosts/ent.storkey.uk/html/inc/reporting2.php:365
Stack trace:
#0 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(189): echo_value('comparingdists', 'content', Array)
#1 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(742): dynaPage->echo_value('content')
#2 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(179): mainPanel->write('main-panel')
#3 /var/www/vhosts/ent.storkey.uk/html/index.php(21): dynaPage->write()
#4 {main}
thrown in /var/www/vhosts/ent.storkey.uk/html/inc/reporting2.php on line 365
